1. Keep a single page.
2. Call the action with the extra option field . i.e
say your action/servlet name updateServlet. then call it
for save
/updateServlet?action=SAVE
for edit
/updateServlet?action=EDIT
you can achieved this by several way by using hidden field.