I have the following scenario .
There is a jsp (let's call it user.jsp) .
The user.jsp contains 2 buttons (Submit and Register). The two buttons are referring to entirely different actions (let us call it A and B).
Now when I click on Register button , since the same form is submitted , there are certain attributes in A which are not in B . Therefore I get an error saying , setter methods are not present .
how to solve this situation .
Please let me know if the question is not clear.