| Author |
how can i use regular expression in web.xml
|
Abhishek Mehta
Greenhorn
Joined: Feb 24, 2005
Posts: 6
|
|
Hi Friends, I have a problem in using regular expression in web.xml. Actually i am using a Servlet Filter but one page create problem with it and i want to bypass this page. Can i use regular expression in web.xml to prevent the servlet filter to get invoked for particular that page and invoked for all rest of the pages. please help me out, if anyone of you has done it before and have any idea regarding this. i welcome any new suggestion to overcome this problem. Thanks Abhishek
|
 |
Indraneel A Das
Greenhorn
Joined: May 16, 2005
Posts: 9
|
|
Can i use regular expression in web.xml to prevent the servlet filter to get invoked for particular that page and invoked for all rest of the pages.
One approach is to use Resin 3.0 to implement regular expression in web.xml. Take a look at path-mapping using resin Experts may throw more light on this.
|
 |
Sharad Agarwal
Ranch Hand
Joined: Sep 11, 2002
Posts: 167
|
|
Abhishek, Isn't this a continuation of this thread? Please refrain from double-posting, it is one of the few rules at the JavaRanch. [ June 23, 2005: Message edited by: Sharad Agarwal ]
|
Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
|
 |
Abhishek Mehta
Greenhorn
Joined: Feb 24, 2005
Posts: 6
|
|
i am sorry, actually the earlier post was related to servlet filter and this was regarding regular exp. i will take care in future. well the link that you gave in earlier post didnt have much information regarding my query could you please send me some more links regarding regular exp.. any working example will do great work thanks Abhishek
|
 |
Sharad Agarwal
Ranch Hand
Joined: Sep 11, 2002
Posts: 167
|
|
No problem, I had pointed you to the Jakarata ORO page. They have an excellent demo page here. Are you looking for code examples? You should be able to get some from the site and the Javadoc. If there is a specific regex that you need help with, let us know. We might be able to help.
|
 |
 |
|
|
subject: how can i use regular expression in web.xml
|
|
|