In strurt why w use two differnt files web.xml and strut
config.xml?

Answers were Sorted based on User's Feedback



In strurt why w use two differnt files web.xml and strut config.xml?..

Answer / naman patidar

web.xml is an application level configuration file.
struts-config.xml is framework specific file and name of
this file is configured in we.xml under tag

<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>

you can change the name of file and location here.

Is This Answer Correct ?    18 Yes 0 No

In strurt why w use two differnt files web.xml and strut config.xml?..

Answer / anil

web.xml is effect for application level, and struts-
config.xml file is effect for struts frame/work level.

Is This Answer Correct ?    11 Yes 2 No

Post New Answer

More Struts Interview Questions

What is the apache struts vulnerability?

0 Answers  


What is meant by portals???

9 Answers  


What is the purpose of @emailvalidator?

0 Answers  


Why is it called struts?

0 Answers  


How is token generated?

0 Answers  


Why do we need struts?

0 Answers  


How struts2 supports internationalization?

0 Answers  


Where can I get help with struts?

0 Answers  


Are actions thread safe?

0 Answers  


how to debug struts project in netbean ?

0 Answers  


Briefly tell the two kinds of form beans.

0 Answers  


Why do the struts tags provide for so little formatting?

0 Answers  


Categories