Howdy all...

My problem may be JRun 2.3 specific, though I don't know.  I'm trying to set
up a servlet to listen to requests as they come in to the server, check for
a specific cookie, and redirect them if they don't have it; basically
denying any resources on the server based on cookie.  My problem is this: I
have no idea how to get a servlet "in front" of the standard JRun
FileServlet. Since the getServlet(name) method has vaporized, I can't simply
set my servlet as the default handler (the way FileServlet is by default)
and have it forward to FileServlet because I cannot get a reference to
FileServlet.  Even if I could get one, I worry that this would have an
unpleasant effect on the mappings I have defined for other servlets.
Chaining doesn't seem like an answer, either, since I don't know how to pass
the request object on to FileServlet intact.

I've posted this question to the JRun forums (and searched this listserv's
archives) as of a couple days ago with no success.  Does anyone have any
experience with this situation or general clues about what I'm missing?


William Elder

___________________________________________________________________________
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