adspace


Which configuration files are used in struts?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How is declarative handling of exceptions done in struts ?

1006


What do you know about validation plugin ?

1028


What is the difference between filters and interceptors ?

1311


What are the contents on web.xml in struts application ?

1068


What is action chaining ?

1164