i have a form that need to choose which servlet the action on form should do.
for example, if i click button1, the form action is button1servlet if button2, the form action is button2servlet. how to do this using jsp. furthermore, along with choosing the right form for the right button, i need to pass a parameter. i am thinking about using <form action=button1servlet?ID = 5> and get it using request.getParameter("ID") from the button1servlet. can it be done?