File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "javax.servlet" Watch "javax.servlet" New topic


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.

Mike<br />SCJP 1.4<br />----------------------------<br /><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.
I agree. Here's the link:
subject: javax.servlet
It's not a secret anymore!