Put a hidden field in the form with and identifier that you can use to determine which form it was that submitted it. I'd also suggest another hidden field to store a "transaction" id field so you can detect if it's a re-submittal of previously submitted information.
--mikej -=----- mike jackson [EMAIL PROTECTED] -----Original Message----- From: Mark Thias [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 4:01 PM To: Tomcat User Group (E-mail) Subject: Getting url which submitted form Using Tomcat 5.0.26. I'm trying to find out the name of the JSP page which submitted a form. For example, I have a form in MyFirstPage.JSP. <form id="MyFirstPage" method="post" action="MyNextPage.jsp"> <input class="actionButton" type="submit" name="Submit" value="Continue" /> </form> Upon clicking submit, a post is submitted to MyNextForm.jsp. Is there a way to retrieve the name of the submitting JSP page (MyFirstPage.JSP) while processing the HttpServletRequest parameters inside MyNextForm.jsp. Thank you, Mark Thias This email may contain confidential and privileged material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]