Chapter 2. Controlling Web Application Behavior with web.xml
Topics in This Chapter
- Understanding the purpose of web.xml
- Customizing URLs
- Turning off default URLs
- Initializing servlets and JSP pages
- Preloading servlets and JSP pages
- Declaring filters
- Designating welcome pages and error pages
- Restricting access to Web resources
- Controlling session timeouts
- Documenting Web applications
- Specifying MIME types
- Locating tag library descriptors
- Configuring JSP pages
- Configuring character encoding
- Declaring event listeners
- Developing for the clustered environment
- Accessing J2EE resources
This chapter describes the makeup of the deployment descriptor file, web.xml, which is placed in the WEB-INF directory within each Web application.
We’ll summarize ...
Get Core Servlets and JavaServer Pages, Volume 2: Advanced Technologies, Second Edition 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.