Hi
I have written a servlet with a doGet method. I've compiled it with
javac.
I have installed Java ee sdk 5, and started the application server.
The server is up and running and I have created a couple of jsp pages
that work.
My question is, what should I do to be able to request my servlet from
ie or firefox?
The java ee sdk has created a folder \Sun\SDK\domains\domain1\ and I
guess I should
place something there.
The only thing I have is a class file with my servlet.
Do I need to put my servlet class file in a .war file, and if so, how
do I do that?
Manish Pandit - 27 Nov 2006 17:58 GMT
> Do I need to put my servlet class file in a .war file, and if so, how
> do I do that?
You can choose to put it in a war file, or leave it in within the
*standard* folder structure (i.e. within WEB-INF/classs of the context.
For more information on packaging a webapp, refer to
http://www.onjava.com/pub/a/onjava/2001/03/15/tomcat.html for a simple
walkthrough.
-cheers,
Manish