Thanks everyone for your suggestions. Wow, next time instead of banging my head on the 
keyboard, I know who to ask. :-)

This is the format I wound up using:

<INPUT Type=BUTTON name=buttonB value="buttonB" 
onClick="JavaScript:document.myform.action='/ServletB'; if (validateSelected()) { 
document.myform.submit(); }">

BTW, the validateSelected() function just makes sure that the user actually selected 
at least one item before submitting the form.

thanks again!!!

Liz
[EMAIL PROTECTED]
http://www.gymell.com

___________________________________________________________________________
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

Reply via email to