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 Servlet runner 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 "Servlet runner" Watch "Servlet runner" New topic

Servlet runner

Shah Chunky
Ranch Hand

Joined: Dec 27, 2000
Posts: 116

Hi all...
I have compiled a servlet file called, but can someone tell me where to put the .class file

i.e. i tried to put it in d:/jsdk2.0/examples directory & then i tried to run it in Internet Explorer 5.5
by giving :- http://loclahost:8080/servlet/HelloServlet
but it is displaying error "404 file not found"

I started the servletrunner from d:/jsdk2.0/examples & the command prompt says:-
"Servlet not found: HelloServlet"

Shah Chunky - Sun Certified Java2 Programmer.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
I strongly suggest that you drop the JSDK and work only with the Tomcat package. In October 99 Sun gave the Apache organization the code with the intent that Tomcat is to be the "reference implementation" of the servlet and JSP APIs. JSDK is a generation behind and is not supported by Sun.
Be sure you remove all traces of the JSDK before installing Tomcat.

author of:
r venkat

Joined: Jan 09, 2001
Posts: 8
what is tomcat? is it a webserver?
i think we should put it in the servlets folder of the java web server, and start servletrunner and then set the classpath,
then call the servlet i.e., http://....
I agree. Here's the link:
subject: Servlet runner
Similar Threads
Servlets not loading
where to put servlets? (searched 1st)
Servlet runner/304 error
How to reload a servlet class .. plz help