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
What’s the difference between struts and espresso?
What do struts do?
How to convert struts to spring mvc?
What is interceptor? And life cycle methods of interceptor?
What are the differences between http direct and http indirect?
How do you create message resource?
Name some of the features of struts2?
What should be the name of xml file used for validation in struts?
What is the use of jsonvalidation in struts?
What is the use of forwardaction?
How interceptor works in struts 2?
how to connect from struts to database through hibernet and where u can modify the class
Where should struts xml be placed?
Explain the complete struts validator framework.
When should be opt for struts framework?