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 @key annotation annotation?
What is filter dispatcher in struts?
What is a custom tag?
Explain how can we upload files in struts2 application?
What is the purpose of action-mappings tag in struct-config.xml?
What is the purpose of form-beans tag in struct-config.xml?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
How does struts work?
Can you give an overview of how a struts application flows?
Do we need to pay the struts if being used in commercial purpose?
What is difference between actionform and dynaactionform?
Why we use struts in java?
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
Which configuration files are used in struts?
What is the purpose of @customvalidator annotation?