I don't think parent.location submits the form. What you need to do here is have all the 3 buttons as type SUBMIT with same name and different values and inside your servlet get the value see which button is pressed. Take a look at the follwoing example.
Alternate way to have a cancel button, as Randell mentioned earlier, have them as type cancel so as to avoid further checking at the server side. Let me know if this helps Ajan
[This message has been edited by Ajan Balakrishnan (edited February 17, 2001).]