I think you can use
setAttribute(objectKey,"Identifier")
on the request object if you are passing the request and response through a forward or
include.
Or you can pass an Identifier as a hidden field on a form or on the URL.
Hope this helps,
Abraham
-----Original Message-----
From: Carles Pi-Sunyer [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, September 15, 1999 10:33 AM
To: [EMAIL PROTECTED]
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