public class PermittedTaglibsTLV
extends javax.servlet.jsp.tagext.TagLibraryValidator
A TagLibraryValidator class to allow a TLD to restrict what taglibs (in addition to itself) may be imported on a page where it's used.
This TLV supports the following initialization parameter:
This implementation only detects tag libraries declared on the <jsp:root>
element,
including libraries in regular JSP files or JSP Documents with a specific <jsp:root>
.
It does not detect libraries declared on other elements as supported by JSP 2.0.
Constructor and Description |
---|
PermittedTaglibsTLV() |
Modifier and Type | Method and Description |
---|---|
void |
setInitParameters(Map<String,Object> initParams) |
javax.servlet.jsp.tagext.ValidationMessage[] |
validate(String prefix,
String uri,
javax.servlet.jsp.tagext.PageData page) |
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.