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 |
Whats the difference between the default namespace and the root namespace?
How do I install struts?
struts is thread safe or not ?give me answer as early as possible
Where should struts xml be placed?
What steps are required to for an application migration from Struts1 to Struts2?
session menagement in servlets explaion briefly?
Can we have multiple struts config files in a single web app?
what is the main reason for developing struts? what is advantages over Basic MVC architecture based JAVA Application?
How is forward action used for integration?
how canu done chechin and check out of u r project using with sample examples?
Struts follows which design patterns?
What is spring and struts in java?