I have a simple form with two buttons that submit the form. (using <input type="submit" value="button text"/>) Although the form handling should be the same regardless, I want to be able to respond differently depending on which button is pressed. How is the best way to access the "submit" value? I tried accessing it in request.getAttribute("submit"), to no avail. Should I bind it to a field in my Command? If so, how? Thanks very much for your help.