📄 _main__jsp.java
字号:
/*
* JSP generated by Resin 2.1.0 (built Tue Mar 26 14:12:50 PST 2002)
*/
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import com.codefad.easyoffice.*;
import com.corpcn.utils.*;
import com.codefad.easyoffice.db.*;
import java.util.ArrayList;
public class _main__jsp extends com.caucho.jsp.JavaPage{
private boolean _caucho_isDead;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
response.setContentType("text/html; charset=GB2312");
request.setCharacterEncoding("GB2312");
try {
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
/**
* Copyright (c) 2002 codefad.com
* All right reserved.
*
* Description: EASYOFFICE主页面
*
* Author: Chu Daping 2002-6-2 9:18
*
*/
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
User user = (User)session.getAttribute("user");
if (user==null)
{
response.sendRedirect("index.jsp");
}
String username = user.getTrueName();
String userdept = user.getUserDept();
long logins = user.getUserLogins();
java.util.Date lastloginDate = user.getUserLastLogin();
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
out.print((username));
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
out.print((userdept));
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
out.print((lastloginDate));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print((logins));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
out.print((SqlUtils.getOS()));
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
long stationID = user.getUserStationID();
InfoStation station = new DbInfoStation(stationID);
ArrayList callboards = station.callboards();
int callboardnum = callboards.size();
int showNum = callboardnum>=10?9:(callboardnum-1);
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
for (int i=0;i<showNum;i++)
{
String subject = ((Callboard)callboards.get(i)).getSubject();
int endIndex = subject.length()>=10?10:subject.length();
subject = subject.substring(0,endIndex);
pageContext.write(_jsp_string8, 0, _jsp_string8.length);
out.print((((Callboard)callboards.get(i)).getID()));
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
out.print((subject));
pageContext.write(_jsp_string10, 0, _jsp_string10.length);
}
pageContext.write(_jsp_string11, 0, _jsp_string11.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private com.caucho.java.LineMap _caucho_line_map;
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 2057024142)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Depend depend;
depend = (com.caucho.vfs.Depend) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public com.caucho.java.LineMap _caucho_getLineMap()
{
return _caucho_line_map;
}
public void destroy()
{
_caucho_isDead = true;
super.destroy();
}
public void init(com.caucho.java.LineMap lineMap,
com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
mergePath.addMergePath(appDir);
mergePath.addMergePath(resinHome);
mergePath.addClassPath(getClass().getClassLoader());
_caucho_line_map = new com.caucho.java.LineMap("_main__jsp.java", "/main.jsp");
_caucho_line_map.add(6, 1);
_caucho_line_map.add(1, 30);
_caucho_line_map.add(18, 48);
_caucho_line_map.add(45, 60);
_caucho_line_map.add(45, 62);
_caucho_line_map.add(45, 64);
_caucho_line_map.add(45, 66);
_caucho_line_map.add(45, 68);
_caucho_line_map.add(137, 70);
_caucho_line_map.add(150, 78);
_caucho_line_map.add(157, 86);
_caucho_line_map.add(157, 88);
_caucho_line_map.add(158, 90);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/f:/dev/codefad/easyoffice/bin/webapps/main.jsp"), 1026806476000L, 7214L);
_caucho_depends.add(depend);
}
private static byte []_jsp_string11;
private static byte []_jsp_string7;
private static byte []_jsp_string5;
private static byte []_jsp_string8;
private static byte []_jsp_string2;
private static byte []_jsp_string4;
private static byte []_jsp_string1;
private static byte []_jsp_string3;
private static byte []_jsp_string6;
private static byte []_jsp_string0;
private static byte []_jsp_string9;
private static byte []_jsp_string10;
static {
try {
_jsp_string11 = "\r\n </div>\r\n </marquee>\r\n </div>\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n <td bgcolor=\"#000000\" width=\"1\"></td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"#000000\" width=\"1\"></td>\r\n <td width=\"200\"> </td>\r\n <td width=\"11\" height=\"11\"><img src=\"images/home_jiao2.gif\" width=\"11\" height=\"11\"></td>\r\n <td width=\"1\"></td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"#000000\" width=\"1\"></td>\r\n <td bgcolor=\"#000000\" height=\"1\"></td>\r\n <td width=\"11\" height=\"1\"></td>\r\n <td width=\"1\"></td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr> \r\n <td colspan=\"4\"> \r\n <hr width=\"600\" align=\"center\" noshade color=\"#000000\" >\r\n <div align=\"center\">版权所有 ® 花乡政府 2002<br>\r\n </div>\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>\r\n".getBytes("GB2312");
_jsp_string7 = "\r\n <tr> \r\n <td>\r\n <BR>\r\n <div align=\"center\"> \r\n <marquee direction=up height=\"150\" onMouseOut=this.start() onMouseOver=this.stop() scrollamount=2 scrolldelay=150 style=\"BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; FONT-SIZE: 10pt\" width=\"95%\"> \r\n <div align=\"left\">\r\n ".getBytes("GB2312");
_jsp_string5 = "次 服务器:".getBytes("GB2312");
_jsp_string8 = "\r\n <img src=\"images\\dot.gif\"><a href=\"function\\seecallboard.jsp?id=".getBytes("GB2312");
_jsp_string2 = " 部门:".getBytes("GB2312");
_jsp_string4 = " 共登陆".getBytes("GB2312");
_jsp_string1 = "\r\n<html>\r\n<head>\r\n<title>花乡政府办公系统</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link rel=\"stylesheet\" href=\"css/css.css\" type=\"text/css\">\r\n</head>\r\n\r\n<body bgcolor=\"#FFFFFF\" leftmargin=\"0\" topmargin=\"0\">\r\n<table width=\"778\" align=\"center\">\r\n <tr>\r\n <td> \r\n <table width=\"100%\">\r\n <tr> \r\n <td colspan=\"2\"><img src=\"images/top1.gif\" width=\"778\"></td>\r\n </tr>\r\n <tr> \r\n <td height=\"12\" width=\"90%\">目前用户: ".getBytes("GB2312");
_jsp_string3 = " 上次登陆日期:".getBytes("GB2312");
_jsp_string6 = "</td>\r\n <td height=\"12\" width=\"10%\"><a href=\"profile/logout.jsp\">退出系统</a></td>\r\n </tr>\r\n <tr> \r\n <td height=\"2\" colspan=\"2\"> \r\n <hr noShade size=1 width=\"100%\">\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td> \r\n <table width=\"778\">\r\n <tr> \r\n <td width=\"20%\"> \r\n <div align=\"center\">\r\n <table width=\"80%\">\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\"> <a href=\"function/callboard.jsp\">◆ \r\n 公告栏</a></td>\r\n </tr>\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\"><a href=\"function/scheme.jsp\">◆ \r\n 一周工作要点</a></td>\r\n </tr>\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\"><a href=\"function/ziliao.jsp\">◆ \r\n 资料库</a></td>\r\n </tr>\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\"><a href=\"function/wenjian.jsp\">◆ \r\n 政策与法规</a></td>\r\n </tr>\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\"><a href=\"../guestbbs/\">◆ \r\n 进言献策</a></td>\r\n </tr>\r\n <tr>\r\n <td style=\"line-height:18pt\"> </td>\r\n </tr>\r\n </table>\r\n </div>\r\n </td>\r\n <td width=\"30%\"> \r\n <div align=\"center\"><img src=\"images/main.jpg\" width=\"245\" height=\"189\" border=\"1\"></div>\r\n </td>\r\n <td width=\"20%\"> \r\n <div align=\"center\">\r\n <table width=\"80%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\"> <a href=\"function/news.jsp\">◆ \r\n 花乡信息</a></td>\r\n </tr>\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\"><a href=\"function/software.jsp\">◆ \r\n 软件下载 </a></td>\r\n </tr>\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\">◆ 花乡概况</td>\r\n </tr>\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\">◆ 科室设置</td>\r\n </tr>\r\n <tr> \r\n <td style=\"line-height:18pt\" height=\"25\">◆ 管理机构</td>\r\n </tr>\r\n <tr>\r\n <td style=\"line-height:18pt\"> </td>\r\n </tr>\r\n </table>\r\n </div>\r\n </td>\r\n <td width=\"30%\" align=\"center\"> \r\n <table width=\"213\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr> \r\n <td bgcolor=\"#000000\" width=\"1\"></td>\r\n <td bgcolor=\"#000000\" colspan=\"2\"></td>\r\n <td bgcolor=\"#000000\" width=\"1\"></td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"#000000\" width=\"1\"></td>\r\n <td colspan=\"2\"><img src=\"images/home_note.gif\" width=\"211\" height=\"23\"></td>\r\n <td bgcolor=\"#000000\" width=\"1\"></td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"#000000\" width=\"1\"></td>\r\n <td colspan=\"2\"> \r\n <table width=\"210\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr bgcolor=\"#000000\"> \r\n <td></td>\r\n </tr>\r\n ".getBytes("GB2312");
_jsp_string0 = "\r\n".getBytes("GB2312");
_jsp_string9 = "\">".getBytes("GB2312");
_jsp_string10 = "......</a><br>\r\n ".getBytes("GB2312");
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -