Setting Properties for Groups of JSP Pages
It is possible to specify certain properties for a group of JSP pages:
Expression language evaluation
Treatment of scripting elements (see Disabling Scripting, page 620)
Page encoding
Automatic prelude and coda includes
A JSP property group is defined by naming the group and specifying one or more URL patterns; all the properties in the group apply to the resources that match any of the URL patterns. If a resource matches URL patterns in more than one group, the pattern that is most specific applies. To define a property group using deploytool, follow these steps:
1. | Select the WAR. |
2. | Select the JSP Properties tab. |
3. | Click the Add button next to the Name list. |
4. | Enter the name of the property group. |
5. ... |
Get The J2EE™ Tutorial 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.