10.12. The Complete Events Deployment Descriptor

The previous sections showed various excerpts of the web.xml file for the application events examples. This section shows the file in its entirety.

Listing 10.39. web.xml (Complete version for events examples)
 <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <!-- Order matters in web.xml! For the elements used in this example, this order is required: context-param listener servlet servlet-mapping session-config welcome-file-list taglib security-constraint login-config --> <!-- Since the company name changes so frequently, supply it as a servlet context parameter instead ...

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.