java Filter URL pattern specific to request params

Posted by Rohit Desai on Stack Overflow See other posts from Stack Overflow or by Rohit Desai
Published on 2010-03-26T07:49:33Z Indexed on 2010/03/26 7:53 UTC
Read the original article Hit count: 803

Filed under:
|
|
|

Hi All,

We have a situation where we want to use filter for URL's containing some specific request parameters.

e.g

htt://mydomain.com/?id=78&formtype=simple_form&.......
htt://mydomain.com/?id=788&formtype=special_form&.......

and so on , id are fetched at run time, I want configure filter in web.xml only if formtype=special_form.

How should achieve the solution . Can filter be configure with regex patterns?

Really appreciate your help on this.

Thanks, Rohit

© Stack Overflow or respective owner

Related posts about java

Related posts about filter