Nope
-Tim
ben short wrote:
Hi is it possible to use a regular expression as a servlet-mappings
url-pattern?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Have you tried using getServletContext()?
(http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletC
ontext.html)
We use this as a means to find and match our properties (stored in a
common property container directory by context) since we deploy multiple
instances of the same app
I am part of a team that is replacing a cocoon application with spring
mvc. We have to keep the URL format for the application the same as
the current system.
The URLs are http://www.site.com/customername. We are currently
mapping everything to one DispatcherServlet. The problem is static
Hi Chuck,
Do you have an example of this?
Ben
On 10/27/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
url-pattern
So I wanted to do something like map requests
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
url-pattern
Do you have an example of this?
Add this to your app's web.xml:
servlet
servlet-nametcdefault/servlet-name
servlet
PROTECTED] wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
url-pattern
Do you have an example of this?
Add this to your app's web.xml:
servlet
servlet-nametcdefault/servlet-name
servlet
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
url-pattern
The default servlet is defined in the conf/web.xml file.
Good catch - it doesn't need to be redeclared.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL