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
How can we write our own interceptor and map it for action?
What are struts in java?
Define struts?
How many instances of servlet usually run in a struts application ?
What are the core classes of struts framework? Explain
What is the purpose of form-be tag in struct-config.xml?
What is the purpose of interceptors?
Which tag is used to declare constants in struts xml?
What is interceptor in Struts2?
What is package name in struts xml?
What is struts?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What is request processor and how does it relates to action mapping?
What is struts and why it is used?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?