I have installed J2EE 5 Application Server, but I cant get a simple Servlet app named Hell to compile and run? Hell uses the javax.sevlet.* packages, when using ANT to compile the app I get an error saying "package doesn't exist"?
I downloaded the Servlet API 1.5 and unziped it, then did this command which worked...
javac -cp \servlet Hell.java
This uses the -cp (class path) setting to specify the Servlet API package directory, however in J2EE I still cant get ANT to compile the Hell.java app, and I cant get the Hell.class to work in a web browser on the Application Server?
Any help appreciated.
I downloaded the Servlet API 1.5 and unziped it, then did this command which worked...
javac -cp \servlet Hell.java
This uses the -cp (class path) setting to specify the Servlet API package directory, however in J2EE I still cant get ANT to compile the Hell.java app, and I cant get the Hell.class to work in a web browser on the Application Server?
Any help appreciated.