[not so much for physical directories but more for request uris]

you should check out servlet 2.2, section 1.0 "Mapping Requests
to Servlets":

    http://java.sun.com/products/servlet/2.2

in short, you can assign a servlet (or jsp) to handle all inbound
requests for, say, /bop prefaced paths ... in effect achieving
what i believe your looking for. there are other mapping options
which makes this feature pretty compelling in my book. cool
mojo!

side note: the above infomration is valid within the context of a
web application (servlet 2.2, section 9) which will manage it'sown
request uri space. the request mapping stuff is relevant within any
one deployed web application context.

hope this helps,

- james

"james.h.oconnor" wrote:

> Is there a way to have a designated serlvet run every time a web page from
> under some directory is loaded ?
> This is sort of similiar to the way basic authentication would work when a
> resource is protected.  Its just that instead of having a password/login
> form pop up, a servlet would alway be run.
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to