File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servletcompilation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servletcompilation" Watch "servletcompilation" New topic



Joined: May 06, 2001
Posts: 10
iam new to servlets . idownloaded jsdk2.0 . i had jrun3.o . no java webserver with me. i wanted to compile a simple servlet. but i got a compilation error that class javax.servlet not found in import. i set the classpath c:\jsdk2.0\lib\jsdk.jar.
then also no solution. what should i do?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
1. Erase all traces of the JSDK from your system
As far as I know, Sun stopped development of this package quite a while ago.
2. Download the Tomcat package from
3. Install as per the simple instructions
4. If using Win98, increase the Environment memory space because Tomcat uses lots of environment variables.
I agree. Here's the link:
subject: servletcompilation
It's not a secret anymore!