Nico-
Just as a side note, the servlet name does not have to be the fully
qualified class name. The servlet name is used internally by tomcat and
can be whatever you like. Note that the servlet name in the servlet tag
and the servlet name in the servlet mapping tag are what connect the two
tags.
You are missing one element in you web.xml file <servlet-class>
<servlet>
<servlet-name>Whatever</servlet-name>
<servlet-class><fully qualified class name></servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Whatever</servlet-name>
<url-pattern>/myservlet</url-pattern>
</servlet-mapping>
"H.F.N. den Boer" wrote:
> Hi,
>
> I'm trying to get a webapp running on a Win2000 machine running IIS. We
> have troubles with the context.
>
> In the webapps dir I've put a imsapps.war.
> It is unpacked by Tomcat and has web.xml under it and subdirs /lib and
> /classes.
>
> In case of examples, typing url www.localhost/examples displays a
> direcory listing.
> Typing url www.localhost/imsapps not.
> The servlet is not recognised by typing www.localhost/imsapps/gsServer
>
> In web.xml (in dir /imsapps) I mapped the servlet;
> <servlet>
> <servlet-name><fully qualified class name></servlet-name>
> <description>
> Application produced for ...
> </description>
> </servlet>
>
> <servlet-mapping>
> <servlet-name><fully qualified class name></servlet-name>
> <url-pattern>/gsServer</url-pattern>
> </servlet-mapping>
>
> In server.xml (in TOMCAT_HOME/conf) I mapped the context;
> <Context path="/imsapps"
> docBase="c:/jakarta-tomcat/webapps/imsapps"
> crossContext="true"
> debug="9"
> reloadable="true"
> trusted="true" >
> </Context>
>
> Does anyone have an idea what's wrong here ?
>
> Kind regards,
> Nico den Boer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]