O'Reilly logo

Spring MVC: A Tutorial by Paul Deck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix D

The Deployment Descriptor

Deploying a Servlet 3 application is a breeze. Thanks to the servlet  annotation types and depending on how complex your application is, you can deploy a servlet/JSP application without the deployment descriptor. Having said that, the  deployment descriptor is still needed in many circumstances where more refined configuration is needed. When the deployment descriptor is present, it must be named web.xml and located under the WEB-INF directory. Java classes must reside in WEB-INF/classes and Java libraries in WEB-INF/lib. All application resources must then be packaged into a single file with war extension. A war file is basically a jar file.

This appendix discusses deployment and the deployment ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required