scriptfree.tld
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:2k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
  3.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
  5.     version="2.0">
  6.   <description>
  7.     Validates JSP pages to prohibit use of scripting elements.
  8.   </description>
  9.   <tlib-version>1.1</tlib-version>
  10.   <short-name>scriptfree</short-name>
  11.   <uri>http://jakarta.apache.org/taglibs/standard/scriptfree</uri>
  12.   <validator>
  13.     <description>
  14.       Validates prohibitions against scripting elements.
  15.     </description>
  16.     <validator-class>
  17.     javax.servlet.jsp.jstl.tlv.ScriptFreeTLV
  18.     </validator-class>
  19.     <init-param>
  20.       <description>
  21.         Controls whether or not declarations are considered valid.
  22.       </description>
  23.       <param-name>allowDeclarations</param-name>
  24.       <param-value>false</param-value>
  25.     </init-param>
  26.     <init-param>
  27.       <description>
  28.         Controls whether or not scriptlets are considered valid.
  29.       </description>
  30.       <param-name>allowScriptlets</param-name>
  31.       <param-value>false</param-value>
  32.     </init-param>
  33.     <init-param>
  34.       <description>
  35.         Controls whether or not top-level expressions are considered valid.
  36.       </description>
  37.       <param-name>allowExpressions</param-name>
  38.       <param-value>false</param-value>
  39.     </init-param>
  40.     <init-param>
  41.       <description>
  42.         Controls whether or not expressions used to supply request-time
  43.         attribute values are considered valid.
  44.       </description>
  45.       <param-name>allowRTExpressions</param-name>
  46.       <param-value>false</param-value>
  47.     </init-param>
  48.   </validator>
  49. </taglib>