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 struts validator framework?
What are the benefits of Interceptors in Struts2?
What is filter dispatcher in struts?
What are result types in struts?
What configuration changes are required to use resource files in Struts?
in struts how to use hibernate with struts>
What is package name in struts xml?
Mark the differences between html tags and strut specific html tags.
What are the major differences between html tags and strut specific html tags?
What is the purpose of struts.xml in struct2?
How to work with error tags?
What are Struts2 core components?
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
What is the struts in java?
How many instances of servlet usually run in a struts application ?