testauthv.tag

来自「某石油系统正在使用的实时报表平台系统」· TAG 代码 · 共 20 行

TAG
20
字号
<%@ tag body-content="empty" %>
<%@ attribute name="auth" required="true" %>
<%@ attribute name="privilege" required="true" %>
<%@ attribute name="var" type="java.lang.String" rtexprvalue="false" required="true" %>
<%@ variable name-from-attribute="var" alias="result" scope="AT_END" %>

<%@ include file="/Components/tourFunLibs.jsp" %>
<%
	boolean result;
	try
	{
		result = tflHasAuth((char)Integer.parseInt(auth), privilege);
	}
	catch(Exception e)
	{
		result = false;
	}
	
	jspContext.setAttribute("result", new Boolean(result));
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?