If I understand your question correctly, you can use the fact that you know which button was pressed to determine the operation... OK, that sounded confusing. What I mean is, you can have several buttons on the page and the button pressed will be a part of the information returned to the server. I'd have to go back and test, but if you give your buttons (or 'submit' or whatever) a name AND a value, it will be passed normally as a name/value. Dave.
"s.praba", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. Thanks.
Hi U wanted 2 manipulete/ do U.I.D operations using single button instead of multilple button ..rite.. if (rite) A Liitle bit of Smart ness is needed 4 this... just ..instially take one operation as defualt and using java script decide on the next operation pass that variable to the next JSP page and depending on condition.. put the code...