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!

Using Filter to exclude a file

843841Jun 9 2005 — edited Jun 9 2005
In my web.xml, I have servlet mapping with url pattern /*. Now, I want to access an xml file from this server, but it ends up going to the servlet.

Can I avoid calling the servlet using filters and serving up the xml files which the user requested ? All other requests should end up to the servlet.

Thanks in Advance
Varun
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2005
Added on Jun 9 2005
1 comment
239 views