-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
thanks for your response, Paul, i really appreciate your help. there
are two points i need clarifying on if possible. 1: i am a newbie, is
there anywhere i can find examples of how FileInputStream is used? i
can't find any material on it. and 2: how do i get the url of the
original requested page? this is what i have been trying to do and i
can't figure it out (it's got me baffled).
thanks again.
-tifara
--- Paul Matthew Reilly <[EMAIL PROTECTED]> wrote:
> I agree this is a less than ideal solution, but the
> way that we did it
> for www.experienceonline.com is to use mod_rewrite
> to direct every
> request of an *.htm(l) page that requires
> authentication to a home
> brewed authentication servlet and if the user is
> authenticated, the
> originally requested page is piped back to the
> browser by connecting a
> FileInputStream to the Response object's output
> stream. If the user
> is not authenticated, we put the originally
> requested page into a
> session object, redirect them to a login page, and
> if they
> authenticate successfully, we bounce them back to
> the page that was
> stored in the session. I think this is also how the
> JDC works.
>
> -Paul
>
>
> --
> --------------------------------------------------------------
> 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]
>
>
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
--
--------------------------------------------------------------
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]