Try adding TOMCAT_HOME/common/lib/servlet-api.jar to your classpath.
On Jan 10, 2006, at 8:09 AM, Lenandlar Singh wrote:
Folks im trying to compile a servlet but JCreator complains about
not finding the servlet api's.
I did this a few years ago but put it down...can someone please
James Goodwill [EMAIL PROTECTED] wrote:Try adding
/common/lib/servlet-api.jar to your classpath.
This is what i set as a classpath environment variable...
variable -- classpath
value -- C:\Tomcat 5.5\common\lib\servlet-api.jar
Still no progress.
Lenandlar,
What is happening when you compile? Can you include the output?
Thanks,
James
On Jan 10, 2006, at 8:58 AM, Lenandlar Singh wrote:
James Goodwill [EMAIL PROTECTED] wrote:Try adding /common/lib/
servlet-api.jar to your classpath.
This is what i set as a classpath
It keeps saying
javax.servlet api does not exist...
Its not finding these packages...
-
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays,
whatever.
I got it to compile
just copied servlet-api.jar into the /ext directory of my java
installation
Tomcat wont start now for me to test this
-
Yahoo! Photos
Got holiday prints? See all the ways to get quality prints
Lenandlar,
I do not understand why you had to move the servlet-api.jar. Can you
echo your $CLASSPATH and your $TOMCAT_HOME? Did you get Tomcat started?
Thanks,
James
On Jan 10, 2006, at 10:32 AM, Lenandlar Singh wrote:
I got it to compile
just copied servlet-api.jar into the /ext