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

📄 _displayemail.java

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

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


public class _displayEmail 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();
    _displayEmail 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]);
      /*@lineinfo:user-code*//*@lineinfo:25^7*/                    loginItem li=(loginItem)session.getAttribute("user");              if(li==null)              {                response.sendRedirect("OfficeLogin.jsp");              }            
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[6]);
      /*@lineinfo:user-code*//*@lineinfo:46^9*/                        try                  {                        EmailBean eb=new EmailBean();                        Collection cl=(Collection)eb.getEmail(li.getPeopleID());                        Iterator it=cl.iterator();                        while(it.hasNext())                        {                          EmailItem ei=(EmailItem)it.next();                          
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[7]);
      /*@lineinfo:user-code*//*@lineinfo:57^118*/      out.print(ei.getEmailID());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[8]);
      /*@lineinfo:user-code*//*@lineinfo:57^140*/      out.print(ei.getEmailT());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[9]);
      /*@lineinfo:user-code*//*@lineinfo:58^56*/      out.print(ei.getPromulgator());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[10]);
      /*@lineinfo:user-code*//*@lineinfo:59^56*/      out.print(ei.getAddD());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[11]);
      /*@lineinfo:user-code*//*@lineinfo:60^56*/      out.print(ei.getIfreand());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[12]);
      /*@lineinfo:user-code*//*@lineinfo:61^134*/      out.print(ei.getEmailID());
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[13]);
      /*@lineinfo:user-code*//*@lineinfo:63^21*/                              }                  }                  catch(Exception e)                  {                    e.printStackTrace();                  }              
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[14]);


    }
    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[15][];
  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<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\n    <title>收件箱</title>\n    <style type=\"text/css\">\n      table{font-size:13px}\n      <!--\n\t\t\ta:link { text-decoration: none;color: black} \n\t\t\ta:active { text-decoration:blink;} \n\t\t\t\n\t\t\ta:hover {text-decoration: underline;position: relative; top: 3px; left: 3px; color: red}  \n \t\t\ta:visited { text-decoration:none;color: black}   \n\t\t\t-->\n    </style>\n  </head>\n  <body>\n    <form method=\"get\">\n      <table cellspacing=\"1\" cellpadding=\"1\" border=\"0\" width=\"800\" align=\"center\">\n      ".toCharArray();
    __oracle_jsp_text[6] = 
    "\n       \n        <tr>\n          <td colspan=\"5\" height=\"1\"><hr/></td>\n        </tr>\n        <tr>\n          <th colspan=\"5\" align=\"center\">收件箱列表</th>\n        </tr>\n        <tr bgcolor=\"#006699\">\n          <th width=\"160\" align=\"center\"><font color=\"White\">信件标题</font></th>\n          <th width=\"160\" align=\"center\"><font color=\"White\">发送人</font></th>\n          <th width=\"160\" align=\"center\"><font color=\"White\">发送时间</font></th>\n          <th width=\"160\" align=\"center\"><font color=\"White\">信件状态</font></th>\n          <th width=\"160\" align=\"center\"><font color=\"White\">删除</font></th>\n        </tr>\n        ".toCharArray();
    __oracle_jsp_text[7] = 
    "\n                      <tr bgcolor=\"#ddddee\">\n                        <td width=\"160\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayEmailMessage.jsp?id=".toCharArray();
    __oracle_jsp_text[8] = 
    "\">".toCharArray();
    __oracle_jsp_text[9] = 
    "</a></td>\n                        <td width=\"160\" align=\"center\">".toCharArray();
    __oracle_jsp_text[10] = 
    "</td>\n                        <td width=\"160\" align=\"center\">".toCharArray();
    __oracle_jsp_text[11] = 
    "</td>\n                        <td width=\"160\" align=\"center\">".toCharArray();
    __oracle_jsp_text[12] = 
    "</td>\n                        <td width=\"160\" align=\"center\"><font color=\"Blue\"><img src=\"image/arr.gif\"/><a href=\"DeleteEmailAction.do?id=".toCharArray();
    __oracle_jsp_text[13] = 
    "\">删除</a></font></td>\n                      </tr>\n                    ".toCharArray();
    __oracle_jsp_text[14] = 
    "\n        \n        <tr>\n          <td colspan=\"5\" height=\"1\"><hr/></td>\n        </tr>\n      </table>\n    </form>\n  </body>\n</html>\n\n".toCharArray();
    }
    catch (Throwable th) {
      System.err.println(th);
    }
}
}

⌨️ 快捷键说明

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