📄 foottag.java
字号:
package cn.com.syntc.webapp.taglib;
/*
*********************************************************************
* 文件 : FootTag:$
* 项目 : 长沙银行
* 公司 : 沈阳东软软件股份有限公司
* 日期 : $Date$
* 说明 :
**********************************************************************
* 版本历史:
* $Log: $
*********************************************************************
*/
import java.io.IOException;
import javax.servlet.jsp.tagext.TagSupport;
import javax.servlet.jsp.*;
import org.apache.struts.action.*;
import org.apache.struts.util.RequestUtils;
import java.util.Enumeration;
import cn.com.syntc.webapp.session.UserSession;
/**
* <p>
*
* Description:页面底部标签</p> <p>
*
* Copyright: Copyright (c) 2003</p> <p>
*
* Company: neusoft </p>
*
*@author wangy Mail : wangyong@neusoft.com
*@created 2003年12月9日
*@version 1.0
*/
public class FootTag extends TagSupport
{
public int doStartTag() throws JspTagException
{
try
{
pageContext.getOut().flush();
}
catch (Exception e)
{
// do nothing
}
return SKIP_BODY;
}
public int doEndTag() throws JspTagException
{
try
{
UserSession USession = (UserSession)pageContext.getSession().getAttribute("UserSession");
pageContext.getOut().flush();
pageContext.getOut().write("<TABLE WIDTH=777 CELLSPACING=0 CELLPADDING=0>\r\n");
pageContext.getOut().write("<TR>\r\n");
pageContext.getOut().write(" <TD VALIGN='TOP' WIDTH=777>\r\n");
pageContext.getOut().write(" <TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=0>\r\n");
pageContext.getOut().write(" <TR>\r\n");
pageContext.getOut().write(" <TD width='100%' VALIGN='TOP'>\r\n");
pageContext.getOut().write(" </TD>\r\n");
pageContext.getOut().write(" </TR>\r\n");
pageContext.getOut().write(" </TABLE>\r\n");
pageContext.getOut().write(" </TD>\r\n");
pageContext.getOut().write("</TR>\r\n");
pageContext.getOut().write("<TR>\r\n");
pageContext.getOut().write(" <TD VALIGN='TOP' HEIGHT=51 BGCOLOR=#E7E7E7>\r\n");
pageContext.getOut().write(" <TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=0>\r\n");
pageContext.getOut().write(" <TR>\r\n");
pageContext.getOut().write(" <TD>\r\n");
pageContext.getOut().write(" <TABLE border='0' width='777' bgcolor='#E7E7E7' height='51'>\r\n");
pageContext.getOut().write(" <TR>\r\n");
pageContext.getOut().write(" <TD width='100%' align='center'>\r\n");
pageContext.getOut().write(" <a href='mailto:webmaster@syntc.com.cn'>webmaster@syntc.com.cn</a> 沈阳NTC计算机工程有限公司版权所有\r\n");
pageContext.getOut().write(" </TD>\r\n");
pageContext.getOut().write(" </TR>\r\n");
pageContext.getOut().write(" <TR>\r\n");
pageContext.getOut().write(" <TD width='100%' align='center'> 建议使用IE5.5以上浏览器、分辨率1024*768浏览</TD>\r\n");
pageContext.getOut().write(" </TR>\r\n");
pageContext.getOut().write(" </TABLE>\r\n");
pageContext.getOut().write(" </TD>\r\n");
pageContext.getOut().write(" </TR>\r\n");
pageContext.getOut().write(" </TABLE>\r\n");
pageContext.getOut().write(" </TD>\r\n");
pageContext.getOut().write("</TR>\r\n");
pageContext.getOut().write("</TABLE>\r\n");
pageContext.getOut().flush();
}
catch (Exception e) {
e.printStackTrace();
}
return EVAL_PAGE;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -