alternative method use button inputs to simulate the submit buttons and dynamically submit the form to separate actions depending on which button is pressed.
ie: <input type="button" name="checkin" value="check in" onClick="javascript:document.forms[0].action='checkin.jsp';document.forms[0] .submit();"> <input type="button" name="checkout" value="check out" onClick="javascript:document.forms[0].action='checkout.jsp';document.forms[0 ].submit();"> cheers Tref > -----Original Message----- > From: sufi malak [SMTP:[EMAIL PROTECTED]] > Sent: Friday,17 May 2002 4:49 > To: [EMAIL PROTECTED] > Subject: off topic 9two submit buttons in a form) ?? > > Hi, > > I have a form in a jsp file that has : > > 1)Drop down list (for names) > 2)textarea ( for comment) > > > I want to have two submit buttons (chekin, checkout), who to do it please > ? > thanks > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp. > > ========================================================================== > = > 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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com