Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Saravana Pandiyan

Greenhorn
+ Follow
since Mar 31, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Saravana Pandiyan

Hi Rajesh,

XML names are just for our identification purpose, means by seeing the name will come to know that whats the use of that xml file or what does it contains.

Say for example

applicationContext.xml - Will tell you that contains information related to your applicationContext.
mvc-servlet.xml - MVC related configurations.
database.xml - database related configuration.
etc...

For your second question, i mean how to change the default <servlet-name>-servlet.xml in Spring MVC.

Do like this:



Instead of giving your mvc configuration file as a <context-param>, give as a <init-param>.

Regards,
dspandiyan
7 years ago