I've got some problem with using regular expression to describe uri. I would
like to redirect all files (adresses) with .jsp types. According to example
on http://www.servletsuite.com/servlets/redirectflt.htm the syntax is:
uri=some_url
How can I define expression affected all .jsp files. I try something like
this, but it's not working:
/something/*=url
/something/[a-zA-Z0-9]+\.jsp=url
/something/^[a-zA-Z0-9\-\.]+\.jsp$=url
The filter mapping looks like:
</filter>
<filter-mapping>
<filter-name>RedirectFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Thanks for answer.
--
View this message in context:
http://www.nabble.com/URL-Filter-%2B-regular-expression-tf4614427.html#a13177806
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]