What is the difference between struts.xml and struts-config.xml? Are both the same or is there any difference between them?
What is the difference between struts.xml and struts-config.xml? Are both the same or is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The core configuration file for the Struts framework is by default the
struts.xmlfor Struts 2 andstruts-config.xmlfor Struts 1.They are both configuration files so that is the same, but they are different beasts because they refer to different versions of the Struts framework.
There are large differences between Struts 1 and 2 as you can see here.
The files have different structure and content so you can’t really compare one with the other (except for their purpose).