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 |
What is the purpose of @conversion?
What is apache struts cve 2017 5638?
What is difference between spring and struts?
List the important attribute and elements of action mapping under struts.
How can we handle exceptions thrown by application in Struts2?
How you will make available any message resources definitions file to the struts framework environment?
What are the steps used to setup dispatch action?
What is container struts2?
what is the purpose of action servlet and action?
What is the purpose of global-forwards tag in struct-config.xml?
When wil use singleton class in Struts
diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
8 Answers Athena Health Care, Symphony, TCS,