aspose file tools*
The moose likes Servlets and the fly likes How to test a servlet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to test a servlet." Watch "How to test a servlet." New topic
Author

How to test a servlet.

Ghazala Islam
Ranch Hand

Joined: Nov 22, 2000
Posts: 73
My question is very simple,I have downloaded apache webserver
its running fine.My question is how can I complie and run my
servlet,I mean in which directory to save it and in which directory to compile it,what are the commands and steps to compile and run a servelet.
Very simple question,isn't it!!!
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
Apache by itself can not run servlets or JSP. You need the Tomcat servlet engine. (jakarta.apache.org)
It comes with pretty good instructions plus example servlets and JSP.
Bill
Ghazala Islam
Ranch Hand

Joined: Nov 22, 2000
Posts: 73
Perhaps I made a mistake in my previous question regarding
how to test servlets,I have downloaded tomcat 3.1 not
apache web server.Tomcat's default page is displaying
from browser.I have gone through some documents in its docs
directory to how to install and run tomcat but it is very
lenghty and technical for a new user.My question is again
the same that which else software is required to test servlet
or no other is required?Second question is where can I store
and how can I compile servlets?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to test a servlet.