Ummm.... I *think* you can do this to the app's web.xml:
<servlet-mapping>
<servlet-name>MainServlet</servlet-name>
<url-pattern></url-pattern>
</servlet-mapping>
HTH
"Chris Bailey"
<chris@codeinten To: "Tomcat Mailing List"
<[EMAIL PROTECTED]>
sity.com> cc:
Subject: How can I map all requests to
a single servlet?
06/12/2002 05:52
PM
Please respond
to "Tomcat Users
List"
I have a web application that uses a single servlet to respond to all
requests. This is the only web app that will be running under Tomcat. How
can I set up the servlet-mapping so that it gets all requests, without
doing
something like setting the <url-pattern> to be "index.*"? Or, more
specifically, I don't want the "index.page" (or whatever) being added into
the URL. So, the URL's should just be something like
"http://www.foo.com/?param=blah".
____
Chris Bailey mailto:[EMAIL PROTECTED]
Code Intensity http://www.codeintensity.com
--
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]>
