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

📄 _login__success.java

📁 图书管理
💻 JAVA
字号:

import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import oracle.jsp.el.*;
import javax.servlet.jsp.el.*;
import library.BookModel;


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


  // ** 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();
    int __jsp_tag_starteval;
    ServletContext application = pageContext.getServletContext();
    JspWriter out = pageContext.getOut();
    _Login__success page = this;
    ServletConfig config = pageContext.getServletConfig();
    javax.servlet.jsp.el.VariableResolver __ojsp_varRes = (VariableResolver)new OracleVariableResolverImpl(pageContext);

    try {


      out.write(__oracle_jsp_text[0]);
      out.write(__oracle_jsp_text[1]);
      out.write(__oracle_jsp_text[2]);
      library.CustomBean customBean;
      synchronized (request) {
        if ((customBean = (library.CustomBean) pageContext.getAttribute( "customBean", PageContext.REQUEST_SCOPE)) == null) {
          customBean = (library.CustomBean) new library.CustomBean();
          pageContext.setAttribute( "customBean", customBean, PageContext.REQUEST_SCOPE);
        }
      }
      out.write(__oracle_jsp_text[3]);
      out.write(__oracle_jsp_text[4]);
                            request.setCharacterEncoding("gb2312");                      javax.sql.rowset.CachedRowSet crs1 =null;                      crs1 = (javax.sql.rowset.CachedRowSet)request.getAttribute("rs");                      if((crs1!=null)){                      while(crs1.next()){                  
      out.write(__oracle_jsp_text[5]);
      out.print(crs1.getString(1));
      out.write(__oracle_jsp_text[6]);
      out.print(crs1.getString(2));
      out.write(__oracle_jsp_text[7]);
      out.print(crs1.getString(3));
      out.write(__oracle_jsp_text[8]);
      out.print(crs1.getString(4));
      out.write(__oracle_jsp_text[9]);
      out.print(crs1.getString(5));
      out.write(__oracle_jsp_text[10]);
      out.print(crs1.getString(6));
      out.write(__oracle_jsp_text[11]);
      out.print(crs1.getString(7));
      out.write(__oracle_jsp_text[12]);
      out.print(crs1.getString(8));
      out.write(__oracle_jsp_text[13]);
      out.print(crs1.getString(1));
      out.write(__oracle_jsp_text[14]);
      out.print(crs1.getString(3));
      out.write(__oracle_jsp_text[15]);
      out.print(crs1.getString(1));
      out.write(__oracle_jsp_text[16]);
      out.print(crs1.getString(3));
      out.write(__oracle_jsp_text[17]);
                            }                  
      out.write(__oracle_jsp_text[18]);
      }
      out.write(__oracle_jsp_text[19]);

    }
    catch (Throwable e) {
      if (!(e instanceof javax.servlet.jsp.SkipPageException)){
        try {
          if (out != null) out.clear();
        }
        catch (Exception clearException) {
        }
        pageContext.handlePageException(e);
      }
    }
    finally {
      OracleJspRuntime.extraHandlePCFinally(pageContext, true);
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
    }

  }
  private static final char __oracle_jsp_text[][]=new char[20][];
  static {
    try {
    __oracle_jsp_text[0] = 
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n\"http://www.w3.org/TR/html4/loose.dtd\">\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<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\"/>\n    <title>Login_success</title>\n   \n    </head>\n <body>\n <center><h1>欢迎登陆管理系统</h1></center>  \n \n <form  method=\"post\" action=\"InsertInfo.jsp\" >\n <input type=submit value=\"添加\">\n </form>\n \n <form action=\"queryservlet\" method=\"post\">\n <select name=\"Binfo\">\n    <option value='bookNum'>图书编码 \n    <option value='bookName'>图书名称\n    <option value='press'>出版社\n </select>\n <input type =\"text\" name=\"text1\" value=\"\">\n +\n <select name=\"Ainfo\">\n    <option value='authorNum'>作者编码\n    <option value='authorName'>作者姓名\n    <option value='address'>家庭住址\n    <option value='email'>EMAIL\n    <option value='tel'>电话\n </select>\n <input type= \"text\" name = \"text2\" value=\"\" >\n =\n <input type=\"submit\" value=\"查询\">\n </form>\n   <table cellspacing=\"2\" cellpadding=\"3\" border=\"1\" width=\"100%\">\n            <tr>\n               <th>图书编码 </th>\n               <th>图书名称</th>\n               <th>作者编码</th>\n               <th>出版社</th>\n               <th>作者姓名</th>\n               <th>家庭住址</th>\n               <th>EMAIL</th>\n               <th>电话</th>\n               <th></th>\n               <th></th>\n            </tr>\n            ".toCharArray();
    __oracle_jsp_text[5] = 
    "\n            <tr>\n               <td>".toCharArray();
    __oracle_jsp_text[6] = 
    "</td>\n               <td>".toCharArray();
    __oracle_jsp_text[7] = 
    "</td>\n               <td>".toCharArray();
    __oracle_jsp_text[8] = 
    "</td>\n               <td>".toCharArray();
    __oracle_jsp_text[9] = 
    "</td>\n               <td>".toCharArray();
    __oracle_jsp_text[10] = 
    "</td>\n               <td>".toCharArray();
    __oracle_jsp_text[11] = 
    "</td>\n               <td>".toCharArray();
    __oracle_jsp_text[12] = 
    "</td>\n               <td>".toCharArray();
    __oracle_jsp_text[13] = 
    "</td>\n               <td><a href=\"deleteservlet?bookNum=".toCharArray();
    __oracle_jsp_text[14] = 
    "&authorNum=".toCharArray();
    __oracle_jsp_text[15] = 
    "\">\n               删除</a></td>\n               <td><a href=\"modifyservlet?bookNum=".toCharArray();
    __oracle_jsp_text[16] = 
    "&authorNum=".toCharArray();
    __oracle_jsp_text[17] = 
    "\">\n               修改</a></td>\n            </tr>\n            ".toCharArray();
    __oracle_jsp_text[18] = 
    "\n         </table>\n         ".toCharArray();
    __oracle_jsp_text[19] = 
    "\n  </body>\n</html>".toCharArray();
    }
    catch (Throwable th) {
      System.err.println(th);
    }
}
}

⌨️ 快捷键说明

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