aspose file tools*
The moose likes Servlets and the fly likes package javax.servlet does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "package javax.servlet does not exist" Watch "package javax.servlet does not exist" New topic
Author

package javax.servlet does not exist

Jojit Estillore
Greenhorn

Joined: Aug 12, 2003
Posts: 3
set classpath=c:\jdk1.3.1_06\classes111.zip.;
set Java_Home=c:\jdk1.3.1_06\
set Tomcat_Home=c:\Jakarta-tomcat-3.2.3
cd jakarta-tomcat-3.2.3
cd bin
startup
When i compile my code it give me this error "package javax.servlet does not exist"
is there something wrong or any modifications to be made in autoexec.bat?
Thank's
Jojit
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 635
Hi,
Try this,
set classpath=c:\jdk1.3.1_06\classes111.zip;.;c:\Jakarta-tomcat-3.2.3\lib\servlet.jar;
cheers
Praful
[ October 19, 2003: Message edited by: Praful Thakare ]

All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Kapil Varshney
Greenhorn

Joined: Oct 19, 2003
Posts: 1
U need to include servlet.jar
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Yes, you can include servlet.jar on your classpath like Praful Thakare
says. Adding 'j2ee.jar' to the classpath would also work.
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: package javax.servlet does not exist