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

Is This Answer Correct ?    21 Yes 2 No

explain the struts-configuration file?..

Answer / zurreyab ahmad

<data-sources />
<form-beans >
<form-bean name="LoginForm" type="RegisterForm" />


<global-exceptions />
<global-forwards >
<global-forwards >
<forward name="success" path="/success.jsp"/>
<forward name="failure" path="/failure.jsp"/>
<action-mappings >

<action path="/login" type="RegisterAction"
name="LoginForm" scope="request" >



parameter="com.yourcompany.struts.ApplicationResources" />

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

struts is thread safe or not ?give me answer as early as possible

5 Answers  

can anyone help me to send the code for Jasper Reporting in java?plz

3 Answers   CSC, RFT,

what is purpose cvs and vss in eclipse?

2 Answers  

explain method overridding method overloding with examples?

5 Answers   IBM,

In ActionClass we can use only one action i.e execute(), but in DispatchAction we can use multiple actions.My question is , we can use multiple actions in Action class if(action.equals("add") if(action.equals("update"). Then when to use Action and DispatchAction which is frequently in webapplications.

2 Answers  

What is the difference between a Strut and a Class?

1 Answers  

what are the actions in struts?

10 Answers   Wipro, Nihilent,

when we enter the data in the form how it is stored in formbean class setter and getter methods?

1 Answers   TCS, Wipro,

What is MVC?

6 Answers   Infosys,

Main reasons for using servlet as a controller in struts. why not jsp

5 Answers  

its a ActionForm controller or model?

16 Answers   Patni, TCS, Wipro,

why we are using vo,dao and dto design patterns in struts framework

3 Answers   Wipro,