<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
        "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
    <tlib-version>1.1.2</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>Apache Shiro</short-name>
    <uri>/WEB-INF/taglib/xxx</uri>    <!-- 配置成tld文件的目录，xxx为tld文件的文件名 -->
    <description>Apache Shiro JSP Tag Library.</description>
    <tag>
        <name>myPermissions</name>    <!--标签的名称 -->
        <tag-class>com.manage.controller.HasAnyPermission</tag-class> <!-- 实现的类，上面编写的HasAnyPermission类 -->
        <body-content>JSP</body-content>
        <attribute>                               <!--传入参数-->
            <name>permissions</name>              <!--参数名称-->
            <required>true</required>             <!--是否必传-->
            <rtexprvalue>true</rtexprvalue>       <!--是否可用jsp表达式-->
        </attribute>
    </tag>
</taglib>