File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes  - need to exclude contexts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "  - need to exclude contexts" Watch "  - need to exclude contexts" New topic
Author - need to exclude contexts

Terry Jeske

Joined: Apr 06, 2004
Posts: 17
We have CMS system with tomcat/iis on the front-end. The CMS allows for customers to have their own vanity url. A couple sample urls (there will be thousands of them) look like this:
These urls do not map to files, rather, they are interpreted by our servlets which serves up the page from cache or from the database.
We have the coyote redirector working with IIS, but since we do not know what the context will be, we have to use a wild card and pass through all requests. What we would like to do is *exclude* resource urls (i.e. urls for images, scripts or supporting html files) so they can be served by IIS.
We cannot seem to find a way to exclude a directory. Does anyone have any ideas?
I agree. Here's the link:
subject: - need to exclude contexts
It's not a secret anymore!