Answer Posted / zurreyab ahmad
<struts-config>
<data-sources />
<form-beans >
<form-bean name="LoginForm" type="RegisterForm" />
</form-beans>
<global-exceptions />
<global-forwards >
<global-forwards >
<forward name="success" path="/success.jsp"/>
<forward name="failure" path="/failure.jsp"/>
</global-forwards>
<action-mappings >
<action path="/login" type="RegisterAction"
name="LoginForm" scope="request" >
</action>
</action-mappings>
<message-resources
parameter="com.yourcompany.struts.ApplicationResources" />
</struts-config>
</action-mappings>
the controller first goes to action mapping and check the
name of action mapping and action form if same then goes to
action form then check reset method and reset request and
check valideter method and then forward action class
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
List some bundled validators?
What are the features of struts?
What is the purpose of @stringlengthfieldvalidator annotation?
How does one create an action in struts 2?
What are the two scope types for formbeans?
What is struts framework?
What is apache struts cve 2017 5638?
What is defeult result type?
What is the purpose of @element annotation annotation?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What is filter dispatcher in struts?
What are the contents on web.xml in struts application ?
Explain about the
What is declarative exception handling in struts?
What is the purpose of @createifnull annotation annotation?