In strurt why w use two differnt files web.xml and strut
config.xml?
Answers were Sorted based on User's Feedback
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 |
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 |
Can a reducer dispatch an action?
How Struts internally works? For Example if we type the URL "/login.do" how the process goes internaly? How the struts-config.xml loaded?
what is the difference between page and pageContext implicit variables
What is the use of execAndWait interceptor?
What is the significance of logic tags in Struts?
What is the difference between struts1 and struts2?
What is http redirect?
what is mean by custom tag?
when we enter the data in the form how it is stored in formbean class setter and getter methods?
What is token used for?
Which configuration file is used for storing jsp configuration information in struts?
Why are struts tightly coupled?