DemoStructJsp2_0002ejsp_jsp.java
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:16k
源码类别:

Java编程

开发平台:

Java

  1. import javax.servlet.*;
  2. import javax.servlet.http.*;
  3. import javax.servlet.jsp.*;
  4. import org.apache.jasper.runtime.*;
  5. public class DemoStructJsp2_0002ejsp_jsp extends HttpJspBase {
  6.     static {
  7.     }
  8.     public DemoStructJsp2_0002ejsp_jsp( ) {
  9.     }
  10.     private static boolean _jspx_inited = false;
  11.     public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
  12.     }
  13.     public void _jspService(HttpServletRequest request, HttpServletResponse  response)
  14.         throws java.io.IOException, ServletException {
  15.         JspFactory _jspxFactory = null;
  16.         PageContext pageContext = null;
  17.         HttpSession session = null;
  18.         ServletContext application = null;
  19.         ServletConfig config = null;
  20.         JspWriter out = null;
  21.         Object page = this;
  22.         String  _value = null;
  23.         try {
  24.             if (_jspx_inited == false) {
  25.                 synchronized (this) {
  26.                     if (_jspx_inited == false) {
  27.                         _jspx_init();
  28.                         _jspx_inited = true;
  29.                     }
  30.                 }
  31.             }
  32.             _jspxFactory = JspFactory.getDefaultFactory();
  33.             response.setContentType("text/html; charset=GBK");
  34.             pageContext = _jspxFactory.getPageContext(this, request, response,
  35.              "", true, 8192, true);
  36.             application = pageContext.getServletContext();
  37.             config = pageContext.getServletConfig();
  38.             session = pageContext.getSession();
  39.             out = pageContext.getOut();
  40.             // HTML // begin [file="/DemoStructJsp2.jsp";from=(0,60);to=(1,0)]
  41.                 out.write("n");
  42.             // end
  43.             // HTML // begin [file="/DemoStructJsp2.jsp";from=(1,66);to=(2,0)]
  44.                 out.write("n");
  45.             // end
  46.             // HTML // begin [file="/DemoStructJsp2.jsp";from=(2,58);to=(3,0)]
  47.                 out.write("n");
  48.             // end
  49.             // HTML // begin [file="/DemoStructJsp2.jsp";from=(3,58);to=(4,0)]
  50.                 out.write("n");
  51.             // end
  52.             // HTML // begin [file="/DemoStructJsp2.jsp";from=(4,48);to=(5,0)]
  53.                 out.write("n");
  54.             // end
  55.             // begin [file="/DemoStructJsp2.jsp";from=(5,0);to=(5,11)]
  56.                 /* ----  html:html ---- */
  57.                 org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0 = new org.apache.struts.taglib.html.HtmlTag();
  58.                 _jspx_th_html_html_0.setPageContext(pageContext);
  59.                 _jspx_th_html_html_0.setParent(null);
  60.                 try {
  61.                     int _jspx_eval_html_html_0 = _jspx_th_html_html_0.doStartTag();
  62.                     if (_jspx_eval_html_html_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
  63.                         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");
  64.                     if (_jspx_eval_html_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
  65.                         do {
  66.                         // end
  67.                         // HTML // begin [file="/DemoStructJsp2.jsp";from=(5,11);to=(14,0)]
  68.                             out.write("n<head>n<title>nDemoStructJsp2n</title>n</head>n<body>n<h1>JBuilder Generated Struts JSP for ActionForm demostrcuts.DemoActionForm</h1>n<p>n");
  69.                         // end
  70.                         // begin [file="/DemoStructJsp2.jsp";from=(14,0);to=(14,55)]
  71.                             /* ----  html:form ---- */
  72.                             org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = new org.apache.struts.taglib.html.FormTag();
  73.                             _jspx_th_html_form_0.setPageContext(pageContext);
  74.                             _jspx_th_html_form_0.setParent(_jspx_th_html_html_0);
  75.                             _jspx_th_html_form_0.setAction("/demoStructAction.do");
  76.                             _jspx_th_html_form_0.setMethod("POST");
  77.                             try {
  78.                               int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
  79.                               if (_jspx_eval_html_form_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
  80.                               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");
  81.                           if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
  82.                               do {
  83.                           // end
  84.                           // HTML // begin [file="/DemoStructJsp2.jsp";from=(14,55);to=(15,0)]
  85.                               out.write("n");
  86.                           // end
  87.                           // begin [file="/DemoStructJsp2.jsp";from=(15,0);to=(15,26)]
  88.                               /* ----  html:text ---- */
  89.                               org.apache.struts.taglib.html.TextTag _jspx_th_html_text_0 = new org.apache.struts.taglib.html.TextTag();
  90.                               _jspx_th_html_text_0.setPageContext(pageContext);
  91.                               _jspx_th_html_text_0.setParent(_jspx_th_html_form_0);
  92.                               _jspx_th_html_text_0.setProperty("单位");
  93.                               try {
  94.                               int _jspx_eval_html_text_0 = _jspx_th_html_text_0.doStartTag();
  95.                               if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
  96.                               try {
  97.                               if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
  98.                               out = pageContext.pushBody();
  99.                               _jspx_th_html_text_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
  100.                               _jspx_th_html_text_0.doInitBody();
  101.                           }
  102.                           do {
  103.                           // end
  104.                           // begin [file="/DemoStructJsp2.jsp";from=(15,0);to=(15,26)]
  105.                           } while (_jspx_th_html_text_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
  106.                       } finally {
  107.                           if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
  108.                               out = pageContext.popBody();
  109.                       }
  110.                   }
  111.                   if (_jspx_th_html_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  112.                       return;
  113.               } finally {
  114.                   _jspx_th_html_text_0.release();
  115.               }
  116.           // end
  117.           // HTML // begin [file="/DemoStructJsp2.jsp";from=(15,26);to=(17,0)]
  118.               out.write("n<br>n");
  119.           // end
  120.           // begin [file="/DemoStructJsp2.jsp";from=(17,0);to=(17,26)]
  121.               /* ----  html:text ---- */
  122.               org.apache.struts.taglib.html.TextTag _jspx_th_html_text_1 = new org.apache.struts.taglib.html.TextTag();
  123.               _jspx_th_html_text_1.setPageContext(pageContext);
  124.               _jspx_th_html_text_1.setParent(_jspx_th_html_form_0);
  125.               _jspx_th_html_text_1.setProperty("地址");
  126.               try {
  127.                   int _jspx_eval_html_text_1 = _jspx_th_html_text_1.doStartTag();
  128.                   if (_jspx_eval_html_text_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
  129.                       try {
  130.                           if (_jspx_eval_html_text_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
  131.                               out = pageContext.pushBody();
  132.                               _jspx_th_html_text_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
  133.                               _jspx_th_html_text_1.doInitBody();
  134.                           }
  135.                           do {
  136.                           // end
  137.                           // begin [file="/DemoStructJsp2.jsp";from=(17,0);to=(17,26)]
  138.                           } while (_jspx_th_html_text_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
  139.                       } finally {
  140.                           if (_jspx_eval_html_text_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
  141.                               out = pageContext.popBody();
  142.                       }
  143.                   }
  144.                   if (_jspx_th_html_text_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  145.                       return;
  146.               } finally {
  147.                   _jspx_th_html_text_1.release();
  148.               }
  149.           // end
  150.           // HTML // begin [file="/DemoStructJsp2.jsp";from=(17,26);to=(19,0)]
  151.               out.write("n<br>n");
  152.           // end
  153.           // begin [file="/DemoStructJsp2.jsp";from=(19,0);to=(19,26)]
  154.               /* ----  html:text ---- */
  155.               org.apache.struts.taglib.html.TextTag _jspx_th_html_text_2 = new org.apache.struts.taglib.html.TextTag();
  156.               _jspx_th_html_text_2.setPageContext(pageContext);
  157.               _jspx_th_html_text_2.setParent(_jspx_th_html_form_0);
  158.               _jspx_th_html_text_2.setProperty("姓名");
  159.               try {
  160.                   int _jspx_eval_html_text_2 = _jspx_th_html_text_2.doStartTag();
  161.                   if (_jspx_eval_html_text_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
  162.                       try {
  163.                           if (_jspx_eval_html_text_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
  164.                               out = pageContext.pushBody();
  165.                               _jspx_th_html_text_2.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
  166.                               _jspx_th_html_text_2.doInitBody();
  167.                           }
  168.                           do {
  169.                           // end
  170.                           // begin [file="/DemoStructJsp2.jsp";from=(19,0);to=(19,26)]
  171.                           } while (_jspx_th_html_text_2.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
  172.                       } finally {
  173.                           if (_jspx_eval_html_text_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
  174.                               out = pageContext.popBody();
  175.                       }
  176.                   }
  177.                   if (_jspx_th_html_text_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  178.                       return;
  179.               } finally {
  180.                   _jspx_th_html_text_2.release();
  181.               }
  182.           // end
  183.           // HTML // begin [file="/DemoStructJsp2.jsp";from=(19,26);to=(21,0)]
  184.               out.write("n<br>n");
  185.           // end
  186.           // begin [file="/DemoStructJsp2.jsp";from=(21,0);to=(21,47)]
  187.               /* ----  html:submit ---- */
  188.               org.apache.struts.taglib.html.SubmitTag _jspx_th_html_submit_0 = new org.apache.struts.taglib.html.SubmitTag();
  189.               _jspx_th_html_submit_0.setPageContext(pageContext);
  190.               _jspx_th_html_submit_0.setParent(_jspx_th_html_form_0);
  191.               _jspx_th_html_submit_0.setProperty("submit");
  192.               _jspx_th_html_submit_0.setValue("Submit");
  193.               try {
  194.                   int _jspx_eval_html_submit_0 = _jspx_th_html_submit_0.doStartTag();
  195.                   if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
  196.                       try {
  197.                           if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
  198.                               out = pageContext.pushBody();
  199.                               _jspx_th_html_submit_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
  200.                               _jspx_th_html_submit_0.doInitBody();
  201.                           }
  202.                           do {
  203.                           // end
  204.                           // begin [file="/DemoStructJsp2.jsp";from=(21,0);to=(21,47)]
  205.                           } while (_jspx_th_html_submit_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
  206.                       } finally {
  207.                           if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
  208.                               out = pageContext.popBody();
  209.                       }
  210.                   }
  211.                   if (_jspx_th_html_submit_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  212.                       return;
  213.               } finally {
  214.                   _jspx_th_html_submit_0.release();
  215.               }
  216.           // end
  217.           // HTML // begin [file="/DemoStructJsp2.jsp";from=(21,47);to=(22,0)]
  218.               out.write("<br>n");
  219.           // end
  220.           // begin [file="/DemoStructJsp2.jsp";from=(22,0);to=(22,28)]
  221.               /* ----  html:reset ---- */
  222.               org.apache.struts.taglib.html.ResetTag _jspx_th_html_reset_0 = new org.apache.struts.taglib.html.ResetTag();
  223.               _jspx_th_html_reset_0.setPageContext(pageContext);
  224.               _jspx_th_html_reset_0.setParent(_jspx_th_html_form_0);
  225.               _jspx_th_html_reset_0.setValue("Reset");
  226.               try {
  227.                   int _jspx_eval_html_reset_0 = _jspx_th_html_reset_0.doStartTag();
  228.                   if (_jspx_eval_html_reset_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
  229.                       try {
  230.                           if (_jspx_eval_html_reset_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
  231.                               out = pageContext.pushBody();
  232.                               _jspx_th_html_reset_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
  233.                               _jspx_th_html_reset_0.doInitBody();
  234.                           }
  235.                           do {
  236.                           // end
  237.                           // begin [file="/DemoStructJsp2.jsp";from=(22,0);to=(22,28)]
  238.                           } while (_jspx_th_html_reset_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
  239.                       } finally {
  240.                           if (_jspx_eval_html_reset_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
  241.                               out = pageContext.popBody();
  242.                       }
  243.                   }
  244.                   if (_jspx_th_html_reset_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  245.                       return;
  246.               } finally {
  247.                   _jspx_th_html_reset_0.release();
  248.               }
  249.           // end
  250.           // HTML // begin [file="/DemoStructJsp2.jsp";from=(22,28);to=(23,0)]
  251.               out.write("n");
  252.           // end
  253.           // begin [file="/DemoStructJsp2.jsp";from=(23,0);to=(23,12)]
  254.           } while (_jspx_th_html_form_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
  255.       }
  256.       if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  257.           return;
  258.   } finally {
  259.       _jspx_th_html_form_0.release();
  260.   }
  261. // end
  262. // HTML // begin [file="/DemoStructJsp2.jsp";from=(23,12);to=(25,0)]
  263.     out.write("n</body>n");
  264. // end
  265. // begin [file="/DemoStructJsp2.jsp";from=(25,0);to=(25,12)]
  266. } while (_jspx_th_html_html_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
  267. }
  268. if (_jspx_th_html_html_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  269.     return;
  270. } finally {
  271.     _jspx_th_html_html_0.release();
  272. }
  273. // end
  274. // HTML // begin [file="/DemoStructJsp2.jsp";from=(25,12);to=(26,0)]
  275.     out.write("n");
  276. // end
  277. } catch (Throwable t) {
  278.     if (out != null && out.getBufferSize() != 0)
  279.         out.clearBuffer();
  280.     if (pageContext != null) pageContext.handlePageException(t);
  281. } finally {
  282.     if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
  283. }
  284. }
  285. }