Use the following servlet-mapping in your web.xml:
<servlet-mapping>
<servlet-name>My Servlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
Any request that does not match all other mappings will go to 'My Servlet'
-Jeff
----- Original Message -----
From: "Jonathan Soons" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 2:07 PM
Subject: default servlet?
The 2.3 API says :
A string containing only the '/' character denotes the default servlet.
The servlet path is the request URI minus the context.
I cannot find any other mention of "default servlet"
I have many servlets. How do I make one of them the default for my application?
jonathan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>