Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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: 12913
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