Do something like
<form
action = "/admin/controller"
method = "post">
<input type = "submit" value = "Add">
<input type = "hidden" name = "action" value = "add">
</form>
<form
action = "/admin/controller"
method = "post">
<input type = "submit" value = "Logout">
<input type = "hidden" name = "action" value = "logout">
</form>
then maybe your action program (here /admin/controller) or maybe the
"action" value be different. If the program is different the problem is
solved. If the program is the same it must test the value of 'action'.
Benjamin
-----Original Message-----
From: jyothirmai porika [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 10:44 AM
To: [EMAIL PROTECTED]
Subject: URGENT Multiple Forms
Hi All,
I have a jsp page with 3 forms.
What i want to do is when the 2nd form is submited, fist and third should
not be submited and vice varsa.
I tried to submit by calling each submit based on condition,
But it's not working.
How can i handle multiple forms.
Thank's
-Jyothi
-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets