Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to setup class path

 
mohammad abu nayum
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
when i try to compile servlet i get compile error
(HelloServlet.java:3: package javax.servlet.http does not exist )
but i have set up classpath via system setting like this
set CLASSPATH=.;
C:\ServletDevel;
Tomcat 4.1\common\lib\servlet.jar
so what's the problem?
 
Srinivas Jag
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by mohammad abu nayum:
set CLASSPATH=.;
C:\ServletDevel;
Tomcat 4.1\common\lib\servlet.jar

Check if it is actually a "\" after 'ServletDevel' rather than ";"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic