-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

> Actually that FAQ entry results in the entire URL namespace being mapped
> to the servlet.  That isn't what I think the original requestor wanted
> (at least it isn't what I want).  I want just the top level (i.e.
> http://host) initial page mapped to a servlet, but not the entire
> namespace.  So that http://host calls my servlet, but http://host/xxx
> gets the file xxx.

There's an even easier solution. Use DirectoryIndex to map / requests to
index.foo instead of index.html. Use ApJServAction (or AddHandler) to map
.foo files to your servlet. Use getPathInfo in the servlet to see which
file was requested.

- donald



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to