Skip to Main Content
Component- Oriented Development and Assembly
book

Component- Oriented Development and Assembly

by Piram Manickam, S. Sangeetha, S. V. Subrahmanya
December 2013
Intermediate to advanced content levelIntermediate to advanced
298 pages
7h 27m
English
Auerbach Publications
Content preview from Component- Oriented Development and Assembly
162
ComPonent-oriented develoPment and assemblY
<servlet-mapping>
<servlet-name>appServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
</web-app>
8.6.2 Web Configuration File
In addition to the web.xml, the Spring MVC component model requires an
additional configuration file that is also an XML file for handling the Web request.
is configuration file will have the name:
[name of dispatcher servlet]- servlet.xml
For example, with reference to the web.x ml defined above, the name of the con-
figuration file will be appServlet-ser vlet.xml. Alternatively, the name of the
configuration file can have a different name, and it can be specified using the con-
textConfigLocation parameter in the init-param element in the web.x ml
as shown below
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Large-Scale, Component-Based Development

Large-Scale, Component-Based Development

Alan W. Brown

Publisher Resources

ISBN: 9781466580992