User the "referer" header info (Note "referer" not "referrer").
Jianjun
----- Original Message -----
From: Carles Pi-Sunyer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 1999 1:32 PM
Subject: Capturing forwarded from information
> I'm trying to capture the name of the page that forwards to a new page.
>
> My specific situation is that I have three pages: A, B, C. Normally A
> has a link to C:
>
> A -> C
>
> Sometimes if a condition is not met (insufficient user information), C
> forwards to B:
>
> A -> C -forward-> B.
>
> What I would like to do is let B know the name of C, so that after the
> user information is gathered, B can send the user back to C.
>
> A -> C -forward-> B -(for processing input)-> B -forward-> C
>
> Which will look to the user like:
>
> A -> B -> C
>
> I can't figure out how B can get the name of C.
>
> I've actually worked a pretty ugly hack for a specific case, but would
> like to know how to do this in a general case.
>
> Thank You,
> Carles
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html