Home Tutorialhelp Comment Hi, Please note the error kalaAction.java:4: p

 
 

Comment

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

Hi,

Please note the error kalaAction.java:4: 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.

Thanks
Deepak
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com