I am trying to match a whole set of URLs based on file extension, using the regexp matcher

 

For example :

 

^.*\.jspa$|^.*\.jspk|^.*\.htm|^.*\.html

 

The FilterInvocation.getRequestUrl() returns the query string as part of the url.

 

Therefore the above regexp doesn’t match.

 

Is the querystring really required for matching ?  Or can someone suggest how to ignore the query bit in a regexp ?

 

Thanks,

 

Cameron

Reply via email to