Hi Mark,
Not knowing explicidly how things are set up, one possible way is to use
hidden values, for example <input type = "hidden" name="url" value =
"urlValue"> and passing the values from page to page. Of course the problem
is, how do you get the url values? This might be done with javaScript or
passing each page to a servlet doing a getRequestURI(). Just some thoughts.
Tom Kochanowicz
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Mark
Smith
Sent: Tuesday, December 07, 1999 12:31 PM
To: [EMAIL PROTECTED]
Subject: getRequestURI() ....... Previous page
How can i get say the previous 2 or 3 url's visited before the user gets to
the servlet.
page1 --> page2 --> page3 --> servlet (needs info on page1 or page2's URL)
___________________________________________________________________________
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