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

📄 submit_0002ejsp_jsp.java

📁 用jbuilder9构造的struts程序
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class submit_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public submit_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=GBK");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

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

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

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

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

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

            // end
            // HTML // begin [file="/submit.jsp";from=(4,66);to=(13,0)]
                out.write("\r\n<html>\r\n<head>\r\n<title>\r\nSubmit example\r\n</title>\r\n</head>\r\n<body>\r\n<h3>Example Submit Page</h3>\r\n");

            // end
            // begin [file="/submit.jsp";from=(13,0);to=(13,30)]
                /* ----  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(null);
                _jspx_th_html_form_0.setAction("submit.do");
                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="/submit.jsp";from=(13,30);to=(14,10)]
                            out.write("\r\nLast Name:");

                        // end
                        // begin [file="/submit.jsp";from=(14,10);to=(14,42)]
                            /* ----  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("LastName");
                            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="/submit.jsp";from=(14,10);to=(14,42)]
                          } 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="/submit.jsp";from=(14,42);to=(15,8)]
              out.write("<br>\r\nPassword");

          // end
          // begin [file="/submit.jsp";from=(15,8);to=(15,44)]
              /* ----  html:password ---- */
              org.apache.struts.taglib.html.PasswordTag _jspx_th_html_password_0 = new org.apache.struts.taglib.html.PasswordTag();
              _jspx_th_html_password_0.setPageContext(pageContext);
              _jspx_th_html_password_0.setParent(_jspx_th_html_form_0);
              _jspx_th_html_password_0.setProperty("password");
              try {
                  int _jspx_eval_html_password_0 = _jspx_th_html_password_0.doStartTag();
                  if (_jspx_eval_html_password_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      try {
                          if (_jspx_eval_html_password_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_password_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_password_0.doInitBody();
                          }
                          do {
                          // end
                          // begin [file="/submit.jsp";from=(15,8);to=(15,44)]
                          } while (_jspx_th_html_password_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_password_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_password_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_password_0.release();
              }
          // end
          // HTML // begin [file="/submit.jsp";from=(15,44);to=(16,8)]
              out.write("\r\nAddress:");

          // end
          // begin [file="/submit.jsp";from=(16,8);to=(16,43)]
              /* ----  html:textarea ---- */
              org.apache.struts.taglib.html.TextareaTag _jspx_th_html_textarea_0 = new org.apache.struts.taglib.html.TextareaTag();
              _jspx_th_html_textarea_0.setPageContext(pageContext);
              _jspx_th_html_textarea_0.setParent(_jspx_th_html_form_0);
              _jspx_th_html_textarea_0.setProperty("address");
              try {
                  int _jspx_eval_html_textarea_0 = _jspx_th_html_textarea_0.doStartTag();
                  if (_jspx_eval_html_textarea_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      try {
                          if (_jspx_eval_html_textarea_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_textarea_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_textarea_0.doInitBody();
                          }
                          do {
                          // end
                          // begin [file="/submit.jsp";from=(16,8);to=(16,43)]
                          } while (_jspx_th_html_textarea_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_textarea_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_textarea_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_textarea_0.release();
              }
          // end
          // HTML // begin [file="/submit.jsp";from=(16,43);to=(17,8)]
              out.write("<br>\r\nsex:    ");

          // end
          // begin [file="/submit.jsp";from=(17,8);to=(17,46)]
              /* ----  html:radio ---- */
              org.apache.struts.taglib.html.RadioTag _jspx_th_html_radio_0 = new org.apache.struts.taglib.html.RadioTag();
              _jspx_th_html_radio_0.setPageContext(pageContext);
              _jspx_th_html_radio_0.setParent(_jspx_th_html_form_0);
              _jspx_th_html_radio_0.setProperty("sex");
              _jspx_th_html_radio_0.setValue("M");
              try {
                  int _jspx_eval_html_radio_0 = _jspx_th_html_radio_0.doStartTag();
                  if (_jspx_eval_html_radio_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      try {
                          if (_jspx_eval_html_radio_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_radio_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_radio_0.doInitBody();
                          }
                          do {
                          // end
                          // begin [file="/submit.jsp";from=(17,8);to=(17,46)]
                          } while (_jspx_th_html_radio_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_radio_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_radio_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_radio_0.release();
              }
          // end
          // HTML // begin [file="/submit.jsp";from=(17,46);to=(18,8)]
              out.write("Male\r\n        ");

          // end
          // begin [file="/submit.jsp";from=(18,8);to=(18,46)]
              /* ----  html:radio ---- */
              org.apache.struts.taglib.html.RadioTag _jspx_th_html_radio_1 = new org.apache.struts.taglib.html.RadioTag();
              _jspx_th_html_radio_1.setPageContext(pageContext);
              _jspx_th_html_radio_1.setParent(_jspx_th_html_form_0);
              _jspx_th_html_radio_1.setProperty("sex");
              _jspx_th_html_radio_1.setValue("F");
              try {
                  int _jspx_eval_html_radio_1 = _jspx_th_html_radio_1.doStartTag();
                  if (_jspx_eval_html_radio_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      try {
                          if (_jspx_eval_html_radio_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_radio_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_radio_1.doInitBody();
                          }
                          do {
                          // end
                          // begin [file="/submit.jsp";from=(18,8);to=(18,46)]
                          } while (_jspx_th_html_radio_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_radio_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_radio_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_radio_1.release();
              }
          // end
          // HTML // begin [file="/submit.jsp";from=(18,46);to=(19,8)]
              out.write("Female<br>\r\nMarried:");

          // end
          // begin [file="/submit.jsp";from=(19,8);to=(19,43)]
              /* ----  html:checkbox ---- */
              org.apache.struts.taglib.html.CheckboxTag _jspx_th_html_checkbox_0 = new org.apache.struts.taglib.html.CheckboxTag();
              _jspx_th_html_checkbox_0.setPageContext(pageContext);
              _jspx_th_html_checkbox_0.setParent(_jspx_th_html_form_0);
              _jspx_th_html_checkbox_0.setProperty("married");
              try {
                  int _jspx_eval_html_checkbox_0 = _jspx_th_html_checkbox_0.doStartTag();
                  if (_jspx_eval_html_checkbox_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      try {
                          if (_jspx_eval_html_checkbox_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {

⌨️ 快捷键说明

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