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
If the framework doesn’t do what I want, can I request that a feature be added?
Does apache tomcat use struts?
What is validate() and reset() functions?
What is the front controller in struts2?
What configuration files are used in struts?
What is the purpose of redirect result type?
Who wrote struts?
What are the major differences between html tags and strut specific html tags?
What is apache struts cve 2017 5638?
Can you explain value stack?
in struts how to use hibernate with struts>
How to use dispatchaction?
What do you mean by tiles in struts?
What’s the difference between struts and espresso?
Explain how can we upload files in struts2 application?