Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run servlet

 
maateen ashraf
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which web server are you using. I can help you out once i get this info.
Ajan
 
Rashid Ali
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic