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

📄 register_0002ejsp_jsp.java

📁 这个是j2eejava web 编程精要十五讲的全部源码。对学习java web编程的人来说是很能得的资料
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class register_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public register_0002ejsp_jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

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

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html; charset=GB2312");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/register.jsp";from=(0,58);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/register.jsp";from=(1,51);to=(3,0)]
                out.write("\r\n\r\n");

            // end
            // begin [file="/register.jsp";from=(3,0);to=(3,11)]
                /* ----  html:html ---- */
                org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0 = new org.apache.struts.taglib.html.HtmlTag();
                _jspx_th_html_html_0.setPageContext(pageContext);
                _jspx_th_html_html_0.setParent(null);
                try {
                    int _jspx_eval_html_html_0 = _jspx_th_html_html_0.doStartTag();
                    if (_jspx_eval_html_html_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                        throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.HtmlTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                    if (_jspx_eval_html_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                        // end
                        // HTML // begin [file="/register.jsp";from=(3,11);to=(12,0)]
                            out.write("\r\n<head>\r\n<title>\r\n登记页面\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n  <center><h1>学生信息登记</h1></center>\r\n\r\n");

                        // end
                        // begin [file="/register.jsp";from=(12,0);to=(12,48)]
                            /* ----  html:form ---- */
                            org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = new org.apache.struts.taglib.html.FormTag();
                            _jspx_th_html_form_0.setPageContext(pageContext);
                            _jspx_th_html_form_0.setParent(_jspx_th_html_html_0);
                            _jspx_th_html_form_0.setAction("studentAction");
                            _jspx_th_html_form_0.setMethod("POST");
                            try {
                              int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
                              if (_jspx_eval_html_form_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                              throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.FormTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                          if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                              do {
                          // end
                          // HTML // begin [file="/register.jsp";from=(12,48);to=(13,5)]
                              out.write("\r\n  学号:");

                          // end
                          // begin [file="/register.jsp";from=(13,5);to=(13,35)]
                              /* ----  html:text ---- */
                              org.apache.struts.taglib.html.TextTag _jspx_th_html_text_0 = new org.apache.struts.taglib.html.TextTag();
                              _jspx_th_html_text_0.setPageContext(pageContext);
                              _jspx_th_html_text_0.setParent(_jspx_th_html_form_0);
                              _jspx_th_html_text_0.setProperty("studNo");
                              try {
                              int _jspx_eval_html_text_0 = _jspx_th_html_text_0.doStartTag();
                              if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                              try {
                              if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_text_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_text_0.doInitBody();
                          }
                          do {
                          // end
                          // begin [file="/register.jsp";from=(13,5);to=(13,35)]
                          } while (_jspx_th_html_text_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_text_0.release();
              }
          // end
          // HTML // begin [file="/register.jsp";from=(13,35);to=(13,54)]
              out.write(" <font color=\"red\">");

          // end
          // begin [file="/register.jsp";from=(13,54);to=(13,86)]
              /* ----  html:errors ---- */
              org.apache.struts.taglib.html.ErrorsTag _jspx_th_html_errors_0 = new org.apache.struts.taglib.html.ErrorsTag();
              _jspx_th_html_errors_0.setPageContext(pageContext);
              _jspx_th_html_errors_0.setParent(_jspx_th_html_form_0);
              _jspx_th_html_errors_0.setProperty("studNo");
              try {
                  int _jspx_eval_html_errors_0 = _jspx_th_html_errors_0.doStartTag();
                  if (_jspx_eval_html_errors_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                      throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.ErrorsTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                  if (_jspx_eval_html_errors_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      do {
                      // end
                      // begin [file="/register.jsp";from=(13,54);to=(13,86)]
                      } while (_jspx_th_html_errors_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                  }
                  if (_jspx_th_html_errors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_errors_0.release();
              }
          // end
          // HTML // begin [file="/register.jsp";from=(13,86);to=(14,5)]
              out.write("</font><br><br>\r\n  姓名:");

          // end
          // begin [file="/register.jsp";from=(14,5);to=(14,33)]
              /* ----  html:text ---- */
              org.apache.struts.taglib.html.TextTag _jspx_th_html_text_1 = new org.apache.struts.taglib.html.TextTag();
              _jspx_th_html_text_1.setPageContext(pageContext);
              _jspx_th_html_text_1.setParent(_jspx_th_html_form_0);
              _jspx_th_html_text_1.setProperty("name");
              try {
                  int _jspx_eval_html_text_1 = _jspx_th_html_text_1.doStartTag();
                  if (_jspx_eval_html_text_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      try {
                          if (_jspx_eval_html_text_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_text_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_text_1.doInitBody();
                          }
                          do {
                          // end
                          // begin [file="/register.jsp";from=(14,5);to=(14,33)]
                          } while (_jspx_th_html_text_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_text_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_text_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_text_1.release();
              }
          // end
          // HTML // begin [file="/register.jsp";from=(14,33);to=(14,52)]
              out.write(" <font color=\"red\">");

          // end
          // begin [file="/register.jsp";from=(14,52);to=(14,82)]
              /* ----  html:errors ---- */
              org.apache.struts.taglib.html.ErrorsTag _jspx_th_html_errors_1 = new org.apache.struts.taglib.html.ErrorsTag();
              _jspx_th_html_errors_1.setPageContext(pageContext);
              _jspx_th_html_errors_1.setParent(_jspx_th_html_form_0);
              _jspx_th_html_errors_1.setProperty("name");
              try {
                  int _jspx_eval_html_errors_1 = _jspx_th_html_errors_1.doStartTag();
                  if (_jspx_eval_html_errors_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                      throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.ErrorsTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                  if (_jspx_eval_html_errors_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      do {
                      // end
                      // begin [file="/register.jsp";from=(14,52);to=(14,82)]
                      } while (_jspx_th_html_errors_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                  }
                  if (_jspx_th_html_errors_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_errors_1.release();
              }
          // end
          // HTML // begin [file="/register.jsp";from=(14,82);to=(15,5)]
              out.write("</font><br><br>\r\n  性别:");

          // end
          // begin [file="/register.jsp";from=(15,5);to=(15,33)]
              /* ----  html:select ---- */
              org.apache.struts.taglib.html.SelectTag _jspx_th_html_select_0 = new org.apache.struts.taglib.html.SelectTag();
              _jspx_th_html_select_0.setPageContext(pageContext);
              _jspx_th_html_select_0.setParent(_jspx_th_html_form_0);
              _jspx_th_html_select_0.setProperty("sex");
              try {
                  int _jspx_eval_html_select_0 = _jspx_th_html_select_0.doStartTag();
                  if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      try {
                          if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_select_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);

⌨️ 快捷键说明

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