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

📄 _addnewreader.java

📁 是用JBuilder开发的一个图书管理系统
💻 JAVA
字号:
  /*@lineinfo:filename=/AddNewReader.jsp*/
  /*@lineinfo:generated-code*/

import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;


public class _AddNewReader 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();
    _AddNewReader page = this;
    ServletConfig config = pageContext.getServletConfig();

    try {
      // global beans
      // end global beans


      out.write(__oracle_jsp_text[0]);


    }
    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[1][];
  static {
    try {
    __oracle_jsp_text[0] = 
    "\n<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\n    <title>读者注册</title>\n     <script language=\"JavaScript\">\n    <!--\nfunction check()\n{\nif (form.readerID.value.length==0)\n{\n   window.alert(\"请输入编号!\");\n   form.readerID.focus();\n   return false;\n   }\n   if (form.readerName.value.length==0)\n{\n   window.alert(\"请输入姓名!\");\n   form.readerName.focus();\n   return false;\n   }\n   return true; \n}\n   -->\n    </script>\n  </head>\n  <body background=\"images/039.jpg\">\n    <P align=\"center\">\n      <FONT face=\"隶书\" size=\"6\">读者注册</FONT>\n    </P>\n  <table cellspacing=\"2\" cellpadding=\"3\" border=\"1\" width=\"75%\" height=\"232\" align=\"center\"\">  \n        <form name=\"form\" action=\"FrontController?task=saveAddNewReader\" method=\"POST\">\n        <tr>\n          <td height=\"46\">\n            <DIV align=\"center\">\n              <STRONG><FONT size=\"5\" color=\"#ff3333\">*编号</FONT><FONT color=\"#ff3333\"> </FONT></STRONG>\n              </DIV>\n          </td>\n          <td>\n            <input type=\"text\" name=\"readerID\"/>\n          </td>\n        </tr>\n        <tr>\n          <td height=\"43\">\n            <DIV align=\"center\">\n              <STRONG><FONT size=\"5\" color=\"#ff3333\">*姓名</FONT><FONT color=\"#ff3333\"> </FONT></STRONG>\n              </DIV>\n          </td>\n          <td>\n            <input type=\"text\" name=\"readerName\"/>\n          </td>\n        </tr>\n        <tr>\n          <td height=\"42\">\n            <DIV align=\"center\">\n              <FONT color=\"#000000\"><STRONG><FONT size=\"5\">性别</FONT> </STRONG></FONT>\n              </DIV>\n          </td>\n          <td>\n            <input type=\"radio\" name=\"sex\" value=\"0\"/>男\n            <input type=\"radio\" name=\"sex\" value=\"1\"/>女\n            </td>\n        </tr>\n        <tr>\n          <td height=\"42\">\n            <DIV align=\"center\">\n              <FONT color=\"#000000\"><STRONG><FONT size=\"5\">最大借阅数</FONT> </STRONG></FONT>\n              </DIV>\n          </td>\n          <td>\n            <input type=\"text\" name=\"maxnum\"/>\n          </td>\n        </tr>\n         <tr> \n      <td colspan=\"2\"><div align=\"center\">\n        <STRONG><FONT color=\"#ff3333\">\n            <input type=\"submit\" name=\"Submit\" value=\"注册\" onclick=\"return check()\"/>\n            <input name=\"reset\" type=\"reset\" id=\"reset\" value=\"重置\"/>注:*为必填\n          </FONT>\n        </STRONG>\n        </div></td>\n    </tr>\n        </form>\n      </table>\n     </body>\n</html>\n".toCharArray();
    }
    catch (Throwable th) {
      System.err.println(th);
    }
}
}

⌨️ 快捷键说明

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