Hi,

I've been struggling with about the same things...

Steps I took:

1) Make a new servlet context in your server.xml. Something like;
         <Context path="/imsapps"
                  docBase="c:/jakarta-tomcat/webapps/imsapps"
                  crossContext="true"
                  debug="9"
                  reloadable="true"
                  trusted="true" >
         </Context>
or extend with a virtual host. Server.xml will provide enough info.

2) Make a servlet alias in web.xml
<servlet>
     <servlet-name>Whatever</servlet-name>
     <servlet-class><fully qualified class name></servlet-class>
</servlet>

3) Map the alias to a url pattern in web.xml
<servlet-mapping>
     <servlet-name>Whatever</servlet-name>
     <url-pattern>/myservlet</url-pattern>
</servlet-mapping>

4) Call the servlet with
http://localhost:8080/imsapps/mappingName

Hope this is of help...

Nico


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to