ink777
September 9th, 2003, 08:46 AM
Hi,
I have a jsp page where I display 2 buttons, 'Add' and 'Delete'. I need to check which of these two buttons is clicked and call a different jsp for each. How do I do that?
The outline is something like this....
<input type="button" value="Add" onclick="<jsp:forward page = "some.jsp"/>">
else
<jsp:forward page = "someother.jsp"/>
I have a jsp page where I display 2 buttons, 'Add' and 'Delete'. I need to check which of these two buttons is clicked and call a different jsp for each. How do I do that?
The outline is something like this....
<input type="button" value="Add" onclick="<jsp:forward page = "some.jsp"/>">
else
<jsp:forward page = "someother.jsp"/>