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 javax.servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "javax.servlet" Watch "javax.servlet" New topic
Author

javax.servlet

Michael Cleary
Ranch Hand

Joined: Jul 29, 2003
Posts: 93
I am using JCreator Pro 3.0, and I have the J2SE 1.4.2_03 installed. All of my environment variables appear to be set correctly. However, whenever I try to import javax.servlet.*, and then try to compile a .java file (in JCreator), I get errors stating that the package javax.servlet does not exist. If I compile the same file from the command line using javac <filename>.java, it compiles just fine.
If anyone is using JCreator can you please tell me how to get it to compile this file!? All of the paths that JCreator sets up automatically seem to be correct also.
Thanks,
Mike


Mike<br />SCJP 1.4<br />----------------------------<br />mdcleary@earthlink.net<br />----------------------------<br />There are 10 types of people<br />in the world. Those that <br />understand binary, and those<br />that don't.
Michael Cleary
Ranch Hand

Joined: Jul 29, 2003
Posts: 93
Oops. Never mind. I added the server.jar (included w/ Tomcat) to the JCreator paths and it now compiles fine.
Duhhh...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.servlet
 
Similar Threads
100% CPU utilization with JCreator 3.5.013 LE
String explanation
JCreator help !!!
I did not cross post: Why can't i compile with Jcreator?
Getting setup