Answer the question
In order to leave comments, you need to log in
How to correctly call DIFFERENT controller methods from JSP?
Hello.
The situation is this. There is a JSP page. It has two forms:
<form method="post">
<input type="text" name="addName">
<button type="SUBMIT">Add</button>
</form>
<form method="post">
<input type="text" name="deleteName">
<button type="SUBMIT">Delete</button>
</form>
public void add(HttpServletRequest req, HttpServletResponse resp);
public void delete(HttpServletRequest req, HttpServletResponse resp);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question