servlets - Using regular expressions for filter-mapping -


i know cannot use regular expressions url-pattern of filter-mapping, wanted know if possible somehow map filter using /foo/.+/*

no. wildcard matching, <url-pattern> supports prefix (/folder/*) or suffix (*.extension) matching.

if want more finer grained matching possible apache httpd's mod_rewrite, use tuckey's urlrewritefilter or ocpsoft rewrite instead. support mod_rewrite-like expressions xml configuration.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -