explain the struts-configuration file?
Answers were Sorted based on User's Feedback
Answer / venu
struts-configuration file having the folling componets
1.ActionMappings
2.GlobalForwards
3.GlobalExceptions
4.FormBeans
5.DataSource
6.MessageResources
7.Plugins
8.Controller
| Is This Answer Correct ? | 21 Yes | 2 No |
Answer / 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 |
In how many ways duplicate form submission can occurs?
shall we use any name for deployment descriptor of struts instead of struts-config.xml
why do we use logic tag library in struts?
How can we write our own interceptor and map it for action?
tell me struts flow ?
5 Answers BA Continnum Solutions, Exira, Fidelity, iGate,
What is the different actions available in struts?
we have 7 jsp pages .At last page we have a submit button when we click it it will store all jsps data which we provide will store into database. when we starting providing data in jsp pages when we are at 3rd jsp at that time sessions timeout where the data will be store which we r provide in last two jsps?
Are struts thread safe?
Which library is provided by struts for form elements like check boxes, text boxes etc?
What are the loop holes of struts?
How Struts will follow the MVC?
Is it possible to create mulitple instance of one Action Class in struts?