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
What is the purpose of @urlvalidator annotation?
What is the use of resourcebundle.properties file in Struts Validation framework?
What’s the difference between struts and turbine?
What is the purpose of struct-config.xml in struct2?
How to convert struts to spring mvc?
What is http forward?
How we can install struts?
Explain the components of struts?
How is a lookup dispatch action created?
What is execute method in struts?
Explain struts?
Does apache struts run on windows?
Explain the difference between plain-validator and field-validator in struts?
What are the steps used to setup dispatch action?
Name some of the features of struts2?