This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes how to run servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to run servlet" Watch "how to run servlet" New topic
Author

how to run servlet

maateen ashraf
Ranch Hand

Joined: Jan 08, 2001
Posts: 122
after compiling the MyServlet.java file.
i got class file...
where should i save this file
how could i run this file...
thanX in advance....
Ajan Balakrishnan
Ranch Hand

Joined: Jan 04, 2001
Posts: 71
Which web server are you using. I can help you out once i get this info.
Ajan
Rashid Ali
Ranch Hand

Joined: Jan 16, 2001
Posts: 349
You should to download JSWDK (a personal web server) for running your servelet which you can download from a CD or using internet resource.
Regards
Rashid
Pawan Sinha
Greenhorn

Joined: Jan 16, 2001
Posts: 10
If you are having Jsdk loaded in your machine, you can run your servlets.First of all set path to jdk\bin directory and also jsdk\bin directory, then start servletrunner utility.Then write http://localhost:8080/Servlet/Myservlet in your browser adress bar.Write me back if you are still having problems.
[This message has been edited by Pawan Sinha (edited February 06, 2001).]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to run servlet
 
Similar Threads
32 Most missed questions...
WML
Command for running a java file
run sh file
how to execute wml