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 |
What does apache struts do?
What is the main difference between Mvc1 and Mvc2 Architecture??
7 Answers IBM, Ness Technologies,
What are different Struts2 tags? How can we use them?
How interceptor works in struts 2?
Please can you tell me ,where can we used the MVC other than web applications.
What is the purpose of '@keyproperty'?
What is the purpose of form-beans tag in struct-config.xml?
Can we use struts and spring together?
What is the purpose of @intrangefieldvalidator annotation?
Who wrote struts?
What is difference between perform() used in struts1.0 and execute() used in 1.1 ?
Can explain about the validations and in your project where did u used the validations?