Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package javax.servlet does not exist

 
Jojit Estillore
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Kapil Varshney
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
U need to include servlet.jar
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can include servlet.jar on your classpath like Praful Thakare
says. Adding 'j2ee.jar' to the classpath would also work.
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic