⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _office.java

📁 教师办公管理系统
💻 JAVA
字号:
  /*@lineinfo:filename=/Office.jsp*/
  /*@lineinfo:generated-code*/

import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import to.model.Login.*;
import java.util.*;
import java.text.*;
import java.sql.*;
import to.model.Inform.*;
import to.model.*;


public class _Office extends com.orionserver.http.OrionHttpJspPage {

  public final String _globalsClassName = null;

  // ** Begin Declarations


  // ** End Declarations

  public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {

    response.setContentType( "text/html;charset=GBK");
    /* set up the intrinsic variables using the pageContext goober:
    ** session = HttpSession
    ** application = ServletContext
    ** out = JspWriter
    ** page = this
    ** config = ServletConfig
    ** all session/app beans declared in globals.jsa
    */
    PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
    // Note: this is not emitted if the session directive == false
    HttpSession session = pageContext.getSession();
    if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
      pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
      return;
}
    int __jsp_tag_starteval;
    ServletContext application = pageContext.getServletContext();
    JspWriter out = pageContext.getOut();
    _Office page = this;
    ServletConfig config = pageContext.getServletConfig();

    try {
      // global beans
      // end global beans


      out.write(__oracle_jsp_text[0]);
      out.write(__oracle_jsp_text[1]);
      out.write(__oracle_jsp_text[2]);
      out.write(__oracle_jsp_text[3]);
      out.write(__oracle_jsp_text[4]);
      out.write(__oracle_jsp_text[5]);
      out.write(__oracle_jsp_text[6]);
      /*@lineinfo:user-code*//*@lineinfo:30^7*/                    loginItem li=(loginItem)session.getAttribute("user");              if(li==null)              {                response.sendRedirect("OfficeLogin.jsp");              }            
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[7]);
      /*@lineinfo:user-code*//*@lineinfo:38^48*/      out.print(li.getPeopleName());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[8]);
      /*@lineinfo:user-code*//*@lineinfo:39^9*/                      java.text.SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd");                String date=format.format(new java.util.Date());              
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[9]);
      /*@lineinfo:user-code*//*@lineinfo:43^61*/      out.print(date);
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[10]);
      /*@lineinfo:user-code*//*@lineinfo:44^91*/      out.print(li.getPeopleID());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[11]);
      /*@lineinfo:user-code*//*@lineinfo:44^155*/      out.print(li.getPeopleID());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[12]);
      /*@lineinfo:user-code*//*@lineinfo:63^7*/                      InformBean ib=new InformBean();                Collection c=(Collection)ib.getInformWeiDu(li.getPeopleID());                Iterator it=c.iterator();                while(it.hasNext())                {                  InformItem ii=(InformItem)it.next();                  
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[13]);
      /*@lineinfo:user-code*//*@lineinfo:72^47*/      out.print(ii.getId());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[14]);
      /*@lineinfo:user-code*//*@lineinfo:73^90*/      out.print(ii.getInformID());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[15]);
      /*@lineinfo:user-code*//*@lineinfo:73^113*/      out.print(ii.getInformT());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[16]);
      /*@lineinfo:user-code*//*@lineinfo:74^47*/      out.print(ii.getPromulgator());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[17]);
      /*@lineinfo:user-code*//*@lineinfo:75^48*/      out.print(ii.getAddT());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[18]);
      /*@lineinfo:user-code*//*@lineinfo:76^59*/      out.print(ii.getEndT());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[19]);
      /*@lineinfo:user-code*//*@lineinfo:77^47*/      out.print(ii.getIfreand());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[20]);
      /*@lineinfo:user-code*//*@lineinfo:78^92*/      out.print(ii.getInformID());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[21]);
      /*@lineinfo:user-code*//*@lineinfo:80^13*/                      }              
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[22]);
      /*@lineinfo:user-code*//*@lineinfo:118^93*/      out.print(li.getPeopleID());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[23]);


    }
    catch( Throwable e) {
      try {
        if (out != null) out.clear();
      }
      catch( Exception clearException) {
      }
      pageContext.handlePageException( e);
    }
    finally {
      OracleJspRuntime.extraHandlePCFinally(pageContext,false);
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
    }

  }
  private static final char __oracle_jsp_text[][]=new char[24][];
  static {
    try {
    __oracle_jsp_text[0] = 
    "\n".toCharArray();
    __oracle_jsp_text[1] = 
    "\n".toCharArray();
    __oracle_jsp_text[2] = 
    "\n".toCharArray();
    __oracle_jsp_text[3] = 
    "\n".toCharArray();
    __oracle_jsp_text[4] = 
    "\n".toCharArray();
    __oracle_jsp_text[5] = 
    "\n".toCharArray();
    __oracle_jsp_text[6] = 
    "\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\n<title>欢迎教师办公管理系统</title>\n<style type=\"text/css\">\n  table{font-size:13px}\n</style>\n</head>\n\n<body>\n<table width=\"972\" height=\"904\" border=\"0\" cellspacing=\"0\">\n  <tr valign=\"top\">\n    <td height=\"77\" colspan=\"2\"><table width=\"969\" border=\"0\">\n      <tr>\n        <td width=\"959\" height=\"79\" align=\"center\" valign=\"middle\" ><img src=\"image/top.gif\" height=\"84\" width=\"967\"/></td>\n      </tr>\n    </table>\n  </tr>\n  <tr>\n    <td width=\"184\" height=\"25\" bgcolor=\"#ddddee\">&nbsp;</td>\n    <td width=\"807\" rowspan=\"30\" valign=\"top\">\n    <table width=\"809\" height=\"35\" border=\"0\" cellspacing=\"0\" >\n      ".toCharArray();
    __oracle_jsp_text[7] = 
    "\n      <tr>\n        <td width=\"150\"><font color=\"Red\">您已登录:".toCharArray();
    __oracle_jsp_text[8] = 
    "</font></td>\n        ".toCharArray();
    __oracle_jsp_text[9] = 
    "\n        <td width=\"431\" align=\"center\"><font color=\"Red\">日期:".toCharArray();
    __oracle_jsp_text[10] = 
    "</font></td>\n        <td width=\"138\" align=\"center\"><font color=\"Red\">[<a href=\"FindPeopleAction.do?id=".toCharArray();
    __oracle_jsp_text[11] = 
    "\">个人信息</a>|<a href=\"EditPeopleAction.do?id=".toCharArray();
    __oracle_jsp_text[12] = 
    "\">修改</a>]</font></td>\n      </tr>\n      <tr>\n        <td colspan=\"3\"><img src=\"image/1.png\"/></td>\n      <tr>\n    </table>\n    <table width=\"800\" height=\"35\" border=\"0\" cellspacing=\"0\" >\n      <tr>\n        <th colspan=\"7\" align=\"center\">我的新消息<th>\n      </tr>\n        <tr bgcolor=\"#006699\">\n          <th width=\"80\" align=\"center\"><font color=\"White\">序号</font></th>\n          <th width=\"130\" align=\"center\" colspan=\"2\"><font color=\"White\">通知标题</font></th>\n          <th width=\"90\" align=\"center\"><font color=\"White\">发布人</font></th>\n          <th width=\"135\" align=\"center\"><font color=\"White\">发布日期</font></th>\n          <th width=\"85\" align=\"center\" colspan=\"2\"><font color=\"White\">有效日期</font></th>\n          <th width=\"50\" align=\"center\"><font color=\"White\">状态</font></th>\n          <th width=\"50\" align=\"center\"><font color=\"White\">操作</font></th>\n        </tr>\n      ".toCharArray();
    __oracle_jsp_text[13] = 
    "\n              <tr bgcolor=\"#ddddee\">\n                <td width=\"80\" align=\"center\">".toCharArray();
    __oracle_jsp_text[14] = 
    "</td>\n                <td width=\"130\" align=\"center\" colspan=\"2\"><a href=\"displayInform.jsp?id=".toCharArray();
    __oracle_jsp_text[15] = 
    "\">".toCharArray();
    __oracle_jsp_text[16] = 
    "</a></td>\n                <td width=\"90\" align=\"center\">".toCharArray();
    __oracle_jsp_text[17] = 
    "</td>\n                <td width=\"135\" align=\"center\">".toCharArray();
    __oracle_jsp_text[18] = 
    "</td>\n                <td width=\"85\" align=\"center\" colspan=\"2\">".toCharArray();
    __oracle_jsp_text[19] = 
    "</td>\n                <td width=\"50\" align=\"center\">".toCharArray();
    __oracle_jsp_text[20] = 
    "</td>\n                <td width=\"50\" align=\"center\"><font color=\"Blue\"><a href=\"BackAction.do?id=".toCharArray();
    __oracle_jsp_text[21] = 
    "\">回复</a></font></td>\n            </tr>\n            ".toCharArray();
    __oracle_jsp_text[22] = 
    "\n       <tr>\n      </tr>\n    </table>   \n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><hr/></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><font color=\"Red\">系 统 设 置</font></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"displayCollege.jsp\"/> 学院配置</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"displayDepartment.jsp\"/>部门配置</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"displayRole.jsp\"/>角色配置</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"displayRight.jsp\"/>权限配置</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"displayPeople.jsp\"/>人员配置</td>\n  </tr>\n    <tr>\n    <td height=\"1\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><hr/></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><font color=\"Red\">通 知 通 告</font></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"newInform.jsp\"/>通知发布</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"FindInform.jsp?id=".toCharArray();
    __oracle_jsp_text[23] = 
    "\"/>通知浏览</td>\n  </tr>\n   <tr>\n    <td height=\"1\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><hr/></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><font color=\"Red\">领 导 信 箱</font></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"newEmail.jsp\"/>写    信</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"displayEmail.jsp\" />收件箱</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"displayFaJianXiang.jsp\"/>发件箱</td>\n  </tr>\n   <tr>\n    <td height=\"1\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><hr/></td>\n  </tr>\n   <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><font color=\"Red\">我的公文包</font></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"displayMessage.jsp\"/>通讯录</td>\n  </tr>\n   <tr>\n    <td height=\"1\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><hr/></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><font color=\"Red\">文 件 中 心</font></td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\">文件上传</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\">文件下载</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\"><a href=\"OfficeLogin.jsp\"/>重新登录</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n    <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\" align=\"center\">&nbsp;</td>\n  </tr>\n  <tr>\n    <td height=\"25\" bgcolor=\"#ddddee\" width=\"184\">&nbsp;</td>\n  </tr>\n</table>\n</body>\n</html>\n\n".toCharArray();
    }
    catch (Throwable th) {
      System.err.println(th);
    }
}
}

⌨️ 快捷键说明

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