hi,
<html>
<javascript >
funtion first()
{
checkinhere
document.form.action=checkin.jsp
}
funtion second()
{
checkout here
document.form.action=checkout.jsp
}
</script>
<input type=submit onClick="javascript:first()">
<input type=submit onClick="javascript:second()">
</html>
is this going to work? or your requirement is some thing else?
Smita
sufi malak <[EMAIL PROTECTED]>:
> 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
>
-------------------------------------------------
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com
Take the shortest route to success!
Click here to know how http://education.sify.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