5.8.3
Customizing a Tag Library
A tag library can be customized at assembly and deployment time.  For example, a tag 
library that provides access to databases may be customized with login and password 
information.
There is no convenient place in 
web.xml
 in the Servlet 2.2 spec for customization 
information A standardized mechanism is probably going to be part of a forthcoming JSP 
specification, but in the meantime the suggestion is that a tag library author place this 
information in a well known location at some resource in the 
WEB INF/ 
portion of the 
Web Application and access it via the 
getResource()
 call on the 
ServletContext
.
Chapter 5
Tag Extensions
112




JSP Web Hosting JavaServer Pages Specifications JSP Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.