Posted By:
ted_smith
Posted On:
Friday, August 4, 2006 06:19 PM
I am writing a program that uses Jetty to serve a servlet. In Netbeans I am having trouble creating an instance of my servlet to pass to Jetty. I can't add the .war to the class path of the app (it only lets you add jars) and when I try to copy the .java file from the web app project to the project running Jetty, it can't find the javax.servlet and javax.servlet.http packages (though it can just fine when it's in a web project that Netbeans created).
What am I doing wrong?