5.11. Documenting Web Applications

More and more development environments are starting to provide explicit support for servlets and JSP. Examples include Borland JBuilder Enterprise Edition, Macromedia UltraDev, Allaire JRun Studio, and IBM VisualAge for Java.

A number of the web.xml elements are designed not for the server, but for the visual development environment. These include icon, display-name, and description.

Recall that it is important to declare the web-app subelements in the proper order within web.xml. Section 5.2 (The Order of Elements within the Deployment Descriptor) gives complete details on the required ordering. For now, however, just remember that icon, display-name, and description are the first three legal elements within ...

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.