Chapter 5. Controlling Web Application Behavior with web.xml
Topics in This Chapter
Customizing URLs
Turning off default URLs
Initializing servlets and JSP pages
Preloading servlets and JSP pages
Declaring filters for servlets and JSP pages
Designating welcome pages and error pages
Restricting access to Web resources
Controlling session timeouts
Documenting Web applications
Specifying MIME types
Locating tag library descriptors
Declaring event listeners
Accessing J2EE resources
This chapter describes the makeup of the deployment descriptor file that is placed in WEB- INF/web.xml within each Web application. I’ll summarize all the legal elements here; for the formal specification see http://java.sun.com/dtd/web-app_2_3.dtd (for version 2.3 of the servlet ...
Get More Servlets and JavaServer Pages™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.