The taglib-location
element gives the real location of the TLD file. For example, suppose that you place
the file chart-tags-1.3beta.tld in yourWebApp/WEB-INF/tlds. Now, suppose that
web.xml contains the following within the web-app element:
/charts
/WEB-INF/tlds/chart-tags-1.3beta.tld
Given this specification, JSP pages can now make use of the tag library by means
of the following simplified form:
<% taglib uri="/charts" prefix="somePrefix" %>
When the next version of the charts tag becomes available, you will only have to
update the taglib-location element. The taglib directive used in your JSP
pages can stay unchanged.
Also note that the taglib element appears inside the jsp-config element in
web.xml version 2.4, whereas version 2.3 of web.xml requires this element to be
directly under the web-app root element.
2.14 Configuring JSP Pages 87
Configuring JSP Page Properties
JSP page properties are configured using one or more jsp-property-group elements.
The properties specified within each jsp-property-group apply only to
the URLs matched by the url-pattern subelement mapping. You can list more
than one url-pattern subelement, but all of them have to appear before any other
subelement of jsp-property-group. The rest of the jsp-property-group
subelements are optional.
Pages:
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129