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

📄 _updateinfo.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.*;


public class _UpdateInfo 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();
    _UpdateInfo 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]);
                javax.sql.rowset.CachedRowSet crs = null;           crs = (javax.sql.rowset.CachedRowSet)request.getAttribute("rs");          if(crs!=null){           while(crs.next()){              
      out.write(__oracle_jsp_text[2]);
      out.print(crs.getString(1));
      out.write(__oracle_jsp_text[3]);
      out.print(crs.getString(2));
      out.write(__oracle_jsp_text[4]);
      out.print(crs.getString(3));
      out.write(__oracle_jsp_text[5]);
      out.print(crs.getString(4));
      out.write(__oracle_jsp_text[6]);
      out.print(crs.getString(5));
      out.write(__oracle_jsp_text[7]);
      out.print(crs.getString(6));
      out.write(__oracle_jsp_text[8]);
      out.print(crs.getString(7));
      out.write(__oracle_jsp_text[9]);
      out.print(crs.getString(8));
      out.write(__oracle_jsp_text[10]);
                       }              }             
      out.write(__oracle_jsp_text[11]);

    }
    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[12][];
  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<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\"/>\n    <title>UpdateInfo</title>\n  </head>\n  <body>\n  ".toCharArray();
    __oracle_jsp_text[2] = 
    "\n <form action=\"updateservlet\" method=\"post\">\n      <table cellspacing=\"2\" cellpadding=\"3\" border=\"1\" width=\"100%\">\n        <tr>\n          <td>图书编号:</td>\n          <td>\n            <input type=\"text\" readonly=\"readonly\" name=\"bookNum\" value=".toCharArray();
    __oracle_jsp_text[3] = 
    ">\n          </td>\n        \n        </tr>\n        <tr>\n          <td>图书名称:</td>\n          <td><input type=\"text\" name=\"bookName\" value=".toCharArray();
    __oracle_jsp_text[4] = 
    "></td>\n        </tr>\n        <tr>\n          <td>作者编号:</td>\n          <td><input type=\"text\" readonly=\"readonly\"  name=\"authorNum\" value=".toCharArray();
    __oracle_jsp_text[5] = 
    "></td>\n        </tr>\n        <tr>\n          <td>出版社:</td>\n          <td><input type=\"text\" name=\"press\" value=".toCharArray();
    __oracle_jsp_text[6] = 
    "></td>\n        </tr>\n        <tr>\n          <td>作者姓名:</td>\n          <td><input type=\"text\" name=\"authorName\" value=".toCharArray();
    __oracle_jsp_text[7] = 
    "></td>\n        </tr>\n        <tr>\n          <td>地址:</td>\n          <td><input type=\"text\" name=\"address\" value=".toCharArray();
    __oracle_jsp_text[8] = 
    "></td>\n        </tr>\n        <tr>\n          <td>EAMIL:</td>\n          <td><input type=\"text\" name=\"email\" value=".toCharArray();
    __oracle_jsp_text[9] = 
    "></td>\n        </tr>\n        <tr>\n          <td>电话:</td>\n          <td><input type=\"text\" name=\"tel\" value=".toCharArray();
    __oracle_jsp_text[10] = 
    "></td>\n        </tr>\n        <tr>\n          <td><input type=\"submit\" value=\"修改\"></td>\n          \n        </tr> \n      </table>\n    ".toCharArray();
    __oracle_jsp_text[11] = 
    "\n    </form>\n  </body>\n</html>".toCharArray();
    }
    catch (Throwable th) {
      System.err.println(th);
    }
}
}

⌨️ 快捷键说明

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