📄 app.tld
字号:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>Application Tag Library</shortname>
<uri>http://jakarta.apache.org/taglibs/struts-example-1.0</uri>
<info>
This tag library contains functionality specific to TK Application.
</info>
<!--\u9A8C\u8BC1\u4F1A\u5458\u662F\u5426\u767B\u5F55-->
<tag>
<name>checkLogon</name>
<tagclass>com.clarion.tk.game.util.CheckLogonTag</tagclass>
<bodycontent>empty</bodycontent>
<info>
Validate that there is a currently logged on user, by checking for
the existence of a session-scope bean under the specified name.
If there is no such bean, forward control to the specified page,
which will typically be a logon form.
name - Name of the session-scope bean to check for [user]
page - Context-relative path to the logon page [/logon.jsp]
</info>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!--\u9A8C\u8BC1\u4F1A\u5458\u662F\u5426\u6709\u6743\u9650\u8BBF\u95EE\u67D0\u4FF1\u4E50\u90E8\u7684\u76F8\u5173\u9875\u9762-->
<tag>
<name>checkUserRole</name>
<tagclass>com.clarion.tk.game.util.CheckUserRoleTag</tagclass>
<bodycontent>empty</bodycontent>
<info>
Validate that there is a currently logged on user, by checking for
the existence of a session-scope bean under the specified name.
If there is no such bean, forward control to the specified page,
which will typically be a logon form.
name - Name of the session-scope bean to check for [user]
page - Context-relative path to the logon page [/logon.jsp]
</info>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>clubid</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>minuserrole</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!--\u9A8C\u8BC1\u7BA1\u7406\u5458\u662F\u5426\u767B\u5F55\u53CA\u6743\u9650-->
<tag>
<name>checkAdminRole</name>
<tagclass>com.clarion.tk.game.util.CheckUserRoleTag</tagclass>
<bodycontent>empty</bodycontent>
<info>
Validate that there is a currently logged on user, by checking for
the existence of a session-scope bean under the specified name.
If there is no such bean, forward control to the specified page,
which will typically be a logon form.
name - Name of the session-scope bean to check for [user]
page - Context-relative path to the logon page [/logon.jsp]
</info>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>jsp</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -