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 is value stack?
What is the purpose of @element?
Difference between html tags and struts specific html tags
What configuration files are used in struts?
Why actionservlet is singleton in struts?
How is declarative handling of exceptions done in struts ?
What is the difference between struts1 and struts2?
What is request processor and how does it relates to action mapping?
What is Struts2?
What is the purpose of @action annotation?
Which servlet does the struts framework use?
Can a reducer dispatch an action?
Explain about the process of functioning of the struts program?
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
What is the apache struts vulnerability?