KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
First, here is the code: <form action="FirstServlet" method="Post"> Last Name: <input type="text" name="lastName" size="20"> <br><br> <input type="submit" value="FirstServlet"> <input type="submit"value="SecondServlet"> </form> I'd like to understand how to send information in case the FirstServlet button was pressed to FirstServlet and in case the SecondServlet button was pressed to SecondServlet . important: I want to do it in the same form so the same information would be transered to both the servlets. (of course, in the servlets I'll use the info accordingly)
Tags (comma-separated)
Save Edits
Cancel