The reason I ask is, to return to the previous page, just use onclick="javascript:history.go(-1)." If you really need to know the URI of the requesting page, go through an action mapping and get it from the servlet Request object from an action class (see the API).
Mark -----Original Message----- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 1:40 PM I keep that to myself, if you know how to do it, I'd appreciate your answer and help, otherwise thanks! Carlos Fernandez www.s1.com -----Original Message----- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 1:09 PM Why do you need to know which page invokes the data entry page? -----Original Message----- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 12:00 PM To: Struts Subject: mapping Hi There, Can someone tell me the best way to know which page I am coming from?. I have a clue using mapping object in the action class. This is the scenario : The first page is a data entry one. Once you put the fields you click continue and go to the summary one that will ask to confirm the values just entered. This second page has two buttons "edit" and "continue". If I click "edit" button, I have to come back to the first page with the values I entered before in the fields. The question is : The first page gets invoked from two different pages....the previous one (that invokes it the first time) and from the summary one. I need to know which page invoked it. Any ideas? Carlos Fernandez www.s1.com <http://www.s1.com> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

