make sure each button has its own form that calls its own servlet.
it's ok to have more than one form on the same page.
best,
paul
-----Original Message-----
From: Meng, Dong J (CAP, CDI) [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 17, 1999 12:19 PM
To: [EMAIL PROTECTED]
Subject: how to handle mutiple submit button on one form ?
Hi:
I have one HTML form with mutiple buttons in a servlet class. If I click
different button, it will go to different servlet page.
How do the servlet know which button have been clicked? Do you have similar
code for this question?
Thanks in advance.
DJ
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html