I am using Struts2
I get error as no result defines for action and result input
<action name="update" method="updatePhase" class="Project">
<result name="updated">/Project.jsp</result>
</action>
My action is not passing to my java class.
Can anyone help me?
The error message means that an result named input
has not been defined for your action. The result input
is a default result returned by Struts when there is a problem with validating the parameters passed to an action. Thus, I recommend to check and ensure that the parameters you are passing from your HTML form match the parameters of your action. Check spelling, data types etc.