Re: help running servlets
The servlets run in a "context" and these are defined in the conf/server.xml
(and also the portnumber).
This context usually resides in the webapps directory. In this directory
there is a WEB-INF subdir which contains the web.xml which has mappings for
the servlet into a java path, which would normally reside in one jar files
in the lib director
So the linux directory WEB-INF/web.xml will have servlet mappings.
The url will be in the form of http://<server>:8080/context/servlet
Check the examples to see it in action... goodluck, Jan
"Allan Bruce" <allanmb@TAKEAWAYf2s.com> wrote in message
news:bu61ub$uto$1@news.freedom2surf.net...
> I have jakarta-tomcat-5 installed alongside my apache web server. I have
> been trying to get servlets running but cant seem to get it right. How do
I
> run a servlet using tomcat? Once it is running, is there a special
> directory structure to get to it, e.g. http://<server>/servlet/ ?
> Thanks
> Allan
>
>
|