| java.lang.Object javax.servlet.jsp.tagext.TagLibraryValidator validators.DebugValidator
DebugValidator | public class DebugValidator extends TagLibraryValidator (Code) | | Example tag library validator that simply dumps the XML version of each
page to standard output (which will typically be sent to the file
$CATALINA_HOME/logs/catalina.out ). To utilize it, simply
include a taglib directive for this tag library at the top
of your JSP page.
author: Craig McClanahan version: $Revision: 1.1 $ $Date: 2001/09/05 05:14:01 $ |
validate | public ValidationMessage[] validate(String prefix, String uri, PageData page)(Code) | | Validate a JSP page. This will get invoked once per directive in the
JSP page. This method will return null if the page is
valid; otherwise the method should return an array of
ValidationMessage objects. An array of length zero is
also interpreted as no errors.
Parameters: prefix - The value of the prefix argument in this directive Parameters: uri - The value of the URI argument in this directive Parameters: page - The page data for this page |
|
|