In strurt why w use two differnt files web.xml and strut
config.xml?
Answer Posted / 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 |
Post New Answer View All Answers
List some bundled validators?
What is the purpose of action-mappings tag in struct-config.xml?
Can you explain struts validator framework?
How many struts config file can be created in struts?
What are action errors and error and what are the consequences they impose?
Why are springs better than struts?
How struts 2 validation works?
What is the difference between validation.xml and validator-rules.xml files in struts?
What is the purpose of form-beans tag in struct-config.xml?
What is the different actions available in struts?
What is struts.devmode?
How does struts work?
Why use spring, if you are already using struts?
What are the advantages of spring mvc over struts mvc?
Are struts thread safe?