This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
String explanation
Getting setup
100% CPU utilization with JCreator 3.5.013 LE
I did not cross post: Why can't i compile with Jcreator?
JCreator help !!!