After clicking a button in jsp ,it comes to the same page while form action is different code example
Example: two buttons in same form
<input type="submit" name="button_1" value="Click me">
<input type="submit" name="button_1" value="Click me">