Deepak Kumar
Hi, Please note the error p,
December 20, 2006 at 3:23 PM


Please note the error package javax.servlet does not exist.

This means compiler is not able to find the servlet api.

so before compiling the java file, set servlet api jar file to classpath.

find and copy servlet.jar to D:\STRUTS~1\demo> directory.

then use the following command to set the classpath.

SET CLASSPATH=.;servlet.jar

and then compile your java file.

View All Comments | View Tutorial
Related Tutorial and Articles


If you enjoyed this post then why not add us on Google+? Add us to your Circles