java Filter URL pattern specific to request params
- by Rohit Desai
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