<INPUT type="submit" name="action1" value="Add">
If you have a textbox like the one above, then in order to retreive its value, you have to use:
request.getParameter("action1");
If you give the attribute value="ad" in the textbox, the text 'Add' will appear inside the textbox.