Which configuration files are used in struts?



Which configuration files are used in struts?..

Answer / Ankitdoharey

In Struts, two main configuration files are used: 'struts-config.xml' and 'web.xml'. 'struts-config.xml' is the primary configuration file for a Struts application that defines action mappings, action classes, form beans, and global resources like messages and validators. On the other hand, 'web.xml' is the standard web deployment descriptor file used in any Java EE application to configure servlets, listeners, filters, and more.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

what happen if the private constructor is written in a claass

6 Answers  


what is the difference between page and pageContext implicit variables

2 Answers   Yash Technologies,


Which design pattern is implemented by Struts2 interceptors?

1 Answers  


in struts without integrate hibernate how to use directly explain?

1 Answers   HCL,


what is the advantages and diadvantages of Struts?

1 Answers  


What is life cycle of an interceptor?

1 Answers  


Give the details of xml files used in validator framework?

1 Answers  


what are the componenets of struts?

8 Answers   HCL,


How to depoly your struts application in JBOSS

1 Answers   HP, NuWare, Satyam, Wipro,


Which tag is used to declare constants in struts xml?

1 Answers  


What is interceptor in Struts2?

1 Answers  


what is diffrence between Dynaactionform,actionform and Dynavalidateform

8 Answers   TCS,


Categories