Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Specify filter for every request except one

843841Sep 1 2005 — edited Sep 1 2005
Can a in me web.xml file specify that a filter should be used for every request except one.
I can write;
<filter-mapping>
<filter-name>MyFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
to use it on every request. But how do I exclude one specific resource that shouldn't go though the filter.

I know that this may not be exactly the right forum but i'm really lost. I appreciate all suggestion.

Thanks / Daniel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 29 2005
Added on Sep 1 2005
2 comments
195 views