-
Sep 10th, 2011, 03:00 AM
#1
Differnce between dispatcher-servlet.xml and spring-servlet.xml
I have just started Spring MVC. I am little confused that what is the difference between dispatcher-servlet.xml and spring-servlet.xml files.
-
Sep 10th, 2011, 04:48 AM
#2
The name... That is all...
The DispatcherServlet has a mechanism to find files to load. By default it loads a file called [servletname]-servlet.xml... So in the first case the servlet has the name 'dispatcher' and in the other the name 'spring'... And that is all there is... no more no less.
-
Sep 10th, 2011, 06:06 AM
#3
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules