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
Why we use struts over servlets?
Can we have multiple struts config files in a single web app?
What are different ways to create Action classes in Struts2?
What are the 5 constants of action interface?
What are the some useful annotations introduced in struts2?
Explain the life cycle of a request in struct2 application?
How can forward action be used to restrict a strut application to mvc?
How to handle exceptions in structs?
What is the purpose of @emailvalidator annotation?
Explain about the future of struts?
What is discontinuous strut?
Describe the two types of formbeans.
What is token used for?
Are the struts tags xhtml compliant ?
Are interceptors thread safe?