Have separate <form> tags  for each form.

eg,

<form action="your1stActionHere">
     1st form fields go here.....
     <input type="submit">
</form>

<form action="your2ndActionHere">
     2nd form fields go here.....
     <input type="submit">
</form>

<form action="your3rdActionHere">
     3rd form fields go here.....
     <input type="submit">
</form>

That way, the other two forms won't be submitted when you click another
one.

Julian Doherty
Information Systems Analyst
Education Review Office




                    jyothirmai porika
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    M>                       cc:
                    Sent by: A               Subject:     URGENT How TO Handle 
(MULTIPLE FORMS)
                    mailing list
                    about Java Server
                    Pages
                    specification and
                    reference
                    <JSP-INTEREST@JAV
                    A.SUN.COM>


                    05/30/01 05:20 AM
                    Please respond to
                    A mailing list
                    about Java Server
                    Pages
                    specification and
                    reference






Hi All,

I have a jsp page with 3 forms.
What i want to do is when the 2nd form is submitted, fist and third should
not be submitted and vice versa.
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

Reply via email to