explain the struts-configuration file?




Answers were Sorted based on User's Feedback



explain the struts-configuration file?..

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

explain the struts-configuration file?..

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

explain the struts-configuration file?..

Answer / guest

In Answer 1 , controller configuration is missed

Is This Answer Correct ?    1 Yes 0 No



Post New Answer



More Struts Interview Questions

what is project architecture?give brief explanation about project architecture?

3 Answers   CTS, IBM, Infinite Computer Solutions, Mphasis, Etisalat,


what is the difference between page and pageContext implicit variables

2 Answers   Yash Technologies,


diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)

8 Answers   Symphony, TCS, Athena Health Care,


advantages& 5 disadvantages of MVC architecture

6 Answers   Satyam, TCS,


multiple instances for action class is it possible

8 Answers   iFlex, ProSoft,






what r the disadvantages of MVC-2 Architecture?

2 Answers   Process IT,


what is the diff between struts1.0 and struts2.0

2 Answers   Intel,


struts 1.3 features?

1 Answers   Integra, Zensar,


why do we typecast ActionForm into out plain java bean class in Action class?

5 Answers  


drawback of Validation Framework where and how to write the connection pool object in the programe how to debug the programe and application in struts without using eclips

1 Answers  


whats is mean Actionerrors and Actionerror?

5 Answers   Wipro,


How do you know what to give for the "path " under in struts-config.xml ?

1 Answers  






Categories