A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Find requested source form
Joined: Jul 17, 2005
May 18, 2006 05:21:00
My scenario is,
I have one
which has two forms and the forms contains similar data. the submit action for the forms are the JSP itself. is there any way how to know from which form posted the data?
<form name="1" action="my.jsp">
<form name="2" action="my.jsp">
Thanks in advance.
Joined: Nov 24, 2005
May 18, 2006 05:33:00
Insert a hidden tag in each, with a different value.
<input type="hidden" name="which" value="form1"/>
and another one for form2.
All roads lead to JavaRanch
subject: Find requested source form
Need Help with JSP & Servlet
Encrypting URL in Address Bar
Multiple form with one action
Loading multiple forms in single jsp
How to merge two forms in a single jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014