There's got to be a better way of writing Filter-mapping than the following, where I want to allow any URL that begins either with: a) /Products/* or b) /<2 characters>/Products/*
---------------------->8-------------------------- <filter-mapping> <filter-name>ProductsFilter</filter-name> <url-pattern>/Products/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ProductsFilter</filter-name> <url-pattern>/en/Products/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ProductsFilter</filter-name> <url-pattern>/de/Products/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ProductsFilter</filter-name> <url-pattern>/fr/Products/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ProductsFilter</filter-name> <url-pattern>/es/Products/*</url-pattern> </filter-mapping> ---------------------->8-------------------------- Using */Products/* doesn't necessarily do it (and I think wouldn't work anyway) since it would also collect match /SomeFolder/Another/Products which would be incorrect. I don't mind using the above excep that it gets messy with multiple filters, and I was wondering if it could be more efficient for Tomcat written some other way. Thanks, Stephen. --------------------------------- With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
