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
How many action classes can be used in struts application?
When should be opt for struts framework?
Can we use struts and spring together?
What is the purpose of '@keyproperty'?
Mark the differences between html tags and strut specific html tags.
What is the significance of logic tags in Struts?
What is apache struts framework?
What is http redirect?
Lists the bundled validators in struts?
How is the mvc design pattern used in struts framework?
Which design pattern the interceptors in struts2 is based on?
Explain about logic match tag?
Which technologies can be used at view layer in struts?
What is the purpose of @element?
What is front controller in struts?