File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Run a Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Run a Servlet" Watch "Run a Servlet" New topic
Author

Run a Servlet

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hi,
I am new to Servlets.pls let me know how to run a simple servlet.where to put my javafile,html file, how to run the webserver.i am using javawebserver2.0 trial version.
Rahul

Preethi M
Greenhorn

Joined: Oct 24, 2000
Posts: 22
Hi Rahul!
Here are the steps for u to proceed with servlets.
1. Go to "c:/javawebserver2.0/bin/httpd" This starts ur webserver.
2. Complie and Save the javafile in servlets directory.
3. Save the html file in public_html directory.
4. Open the browser type "http://localhost:8080/servlet/javafilename"
Hope it's clear.
Have a Nice Day
Preethi M
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Run a Servlet
 
Similar Threads
How To Create A Custom Tag in Jsp
Compile / command line commands question
JMeter Keystore
Help needed for creating executable applications
running multiple web apps in a local Eclipse jetty run configuration?