📄 cauda_tag.java
字号:
package org.apache.jsp.tag.web;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class cauda_tag
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
private JspContext jspContext;
private java.io.Writer _jspx_sout;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
public void setJspContext(JspContext ctx) {
super.setJspContext(ctx);
java.util.ArrayList _jspx_nested = null;
java.util.ArrayList _jspx_at_begin = null;
java.util.ArrayList _jspx_at_end = null;
this.jspContext = new org.apache.jasper.runtime.JspContextWrapper(ctx, _jspx_nested, _jspx_at_begin, _jspx_at_end, null);
}
public JspContext getJspContext() {
return this.jspContext;
}
public java.util.List getDependants() {
return _jspx_dependants;
}
private void _jspInit(ServletConfig config) {
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(config);
}
public void _jspDestroy() {
_jspx_tagPool_c_if_test.release();
}
public void doTag() throws JspException, java.io.IOException {
PageContext _jspx_page_context = (PageContext)jspContext;
HttpServletRequest request = (HttpServletRequest) _jspx_page_context.getRequest();
HttpServletResponse response = (HttpServletResponse) _jspx_page_context.getResponse();
HttpSession session = _jspx_page_context.getSession();
ServletContext application = _jspx_page_context.getServletContext();
ServletConfig config = _jspx_page_context.getServletConfig();
JspWriter out = jspContext.getOut();
_jspInit(config);
try {
out.write("\r\n");
out.write("\r\n");
out.write("<TABLE cellSpacing=0 cellPadding=8 width=776 align=center background='datasrc/bottombg.gif' border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" ");
out.write("\r\n");
out.write(" <TR>\r\n");
out.write(" <td align=\"center\" height=60 width=\"30%\" >\r\n");
out.write(" 当前在线浏览:");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${OnLineNumber}", java.lang.String.class, (PageContext)this.getJspContext(), null, false));
out.write("人<br />\r\n");
out.write(" 其中登录用户:");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${OnLineUser}", java.lang.String.class, (PageContext)this.getJspContext(), null, false));
out.write("人\r\n");
out.write(" </td>\r\n");
out.write(" <TD height=60 align=\"left\" >\r\n");
out.write(" <P>\r\n");
out.write(" <font color=\"#333333\"> 宠物诊所网上管理系统-GBK简体中文版\r\n");
out.write(" <BR> Copyright©Gxaccp-T07 韦国能 设计\r\n");
out.write("</font>\r\n");
out.write(" </P>\r\n");
out.write(" </TD>\r\n");
out.write(" </TR>\r\n");
out.write("\r\n");
out.write(" <TR>\r\n");
out.write(" <TD align=\"center\" height=1 width=\"30%\">\r\n");
out.write(" ");
if (_jspx_meth_c_if_0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" </TD>\r\n");
out.write(" <TD height=50> \r\n");
out.write("<SCRIPT type=\"\" language=\"JavaScript\">\r\n");
out.write("<!-- 日期开始 -->\r\n");
out.write("var today=new Date();\r\n");
out.write("function initArray()\r\n");
out.write(" {\r\n");
out.write(" this.length=initArray.arguments.length\r\n");
out.write("\r\n");
out.write(" for (var i=0;i<this.length;i++)\r\n");
out.write(" this[i+1]=initArray.arguments[i]\r\n");
out.write(" }\r\n");
out.write("\r\n");
out.write("var d=new initArray(\"星期日\",\"星期一\",\"星期二\",\"星期三\",\"星期四\",\"星期五\",\"星期六\");\r\n");
out.write("\r\n");
out.write("document.write(\"<font color=#000000 style='font-size: 12px;'> \",today.getYear(),\"年\",\r\n");
out.write("today.getMonth()+1,\"月\",\r\n");
out.write("today.getDate(),\"日 \",\r\n");
out.write("d[today.getDay()+1],\r\n");
out.write("\"</font>\");\r\n");
out.write("<!-- 日期结束 -->\r\n");
out.write("</SCRIPT><br/>\r\n");
out.write(" </TD>\r\n");
out.write(" </TR>\r\n");
out.write(" </TBODY>\r\n");
out.write("</TABLE>\r\n");
} catch( Throwable t ) {
if( t instanceof SkipPageException )
throw (SkipPageException) t;
if( t instanceof java.io.IOException )
throw (java.io.IOException) t;
if( t instanceof IllegalStateException )
throw (IllegalStateException) t;
if( t instanceof JspException )
throw (JspException) t;
throw new JspException(t);
} finally {
((org.apache.jasper.runtime.JspContextWrapper) jspContext).syncEndTagFile();
_jspDestroy();
}
}
private boolean _jspx_meth_c_if_0(PageContext _jspx_page_context)
throws Throwable {
JspWriter out = _jspx_page_context.getOut();
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_0.setPageContext(_jspx_page_context);
_jspx_th_c_if_0.setParent(null);
_jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty sessionScope.UserInfo}", java.lang.Boolean.class, (PageContext)this.getJspContext(), null, false)).booleanValue());
int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <a href=\"index.jsp\"><font size=\"2\" color=\"#ff0000\">\r\n");
out.write(" <b>查看权限>></b>\r\n");
out.write(" </font></a>\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
throw new SkipPageException();
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -