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
Explain the components of struts?
Explain how can we upload files in struts2 application?
List the important attribute and elements of action mapping under struts.
How is a lookup dispatch action created?
What is struts?
What is difference between lookupdispatchaction and dispatchaction?
What configurations are stored in struts configuration file ?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
In struts, how can we access java beans and their properties?
At the point, you should go for struts framework?
What is the difference between struts and spring?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
Briefly tell the two kinds of form beans.
What is the purpose of @expressionvalidator annotation?
What are the two scope types for formbeans?