aspose file tools*
The moose likes Servlets and the fly likes how to setup class path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to setup class path" Watch "how to setup class path" New topic
Author

how to setup class path

mohammad abu nayum
Greenhorn

Joined: Sep 08, 2003
Posts: 4
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

Joined: Jun 30, 2003
Posts: 9
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 ";"
 
 
subject: how to setup class path