> Checking the value returned by getParameter is a common solution to
> determining which button was selected in the form. One
> drawback is that
> if someone wants to change the text displayed on the button face, the
> servlet must be recompiled.
??? Why that? With standard HTML button it's the value field that controls
what's displayed, not the name field.
If you change
<input type="button" name="test" value="bar">
to
<input type="button" name="test" value="foo">
nothing should happen from the servlet's point of view.
If the servlet checks the name, not the value the two buttons should be
identical... No need to recompile.
Frauke Nonnenmacher
Fat Cat Cartoons
www.fatcatoons.com <http://www.fatcatoons.com>
___________________________________________________
The statements and opinions expressed here are my own
and do not necessarily represent those of the VEGA Group.
___________________________________________________________________________
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