File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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 ";"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to setup class path