On 20/08/2010 10:40, David Goodenough wrote: > I am trying to configure a filter to handle just requests to a single page > which for the simplicity I will call page.htm (at the root of my application). > > So I created a url-pattern which read:- > > <url-pattern>page.htm</url-pattern> > > and put it inside my <filter-mapping> tag. > > But when I start tomcat6 it throws an exception complaining that this > url-pattern is invalid. > > I tried with a leading /, I tried *ge.htm in case it wanted a wildcard in > there somwhere, but none of them work. > > This is in a <webapp version="2.4" if that makes a difference.
Tomcat6.0.x? The url-pattern must start with a '/' character. Please post the complete application web.xml. p > David > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature