Thursday, April 15, 2004 09:57 AM
the name parameter of an html submit button should be your request parameter name in the servlet, and the "value" of your button (its label) should be the value of that request parameter.
session.getAttribute("nameOfButton") should return the label of the button, this is the easiest way to determine which button is pressed, as long as they all have unique labels.
By the way, it may be session.getParameter, I always forget which one is deprecated and which isnt.. DOH! ;-)