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

    final java.lang.String _jspx_method = request.getMethod();
    if (!"GET".equals(_jspx_method)
        && !"POST".equals(_jspx_method)
        && !"HEAD".equals(_jspx_method)
        && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
      response.sendError(
          HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD");
      return;
    }

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;

    try {
      response.setContentType("text/html; charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write("  \n");
      out.write(" ");
      request.setCharacterEncoding("utf-8");
      out.write('\n');
      out.write(' ');
      movie.admin.filmBean gb = null;
      gb =
          (movie.admin.filmBean)
              _jspx_page_context.getAttribute("gb", javax.servlet.jsp.PageContext.PAGE_SCOPE);
      if (gb == null) {
        gb = new movie.admin.filmBean();
        _jspx_page_context.setAttribute("gb", gb, javax.servlet.jsp.PageContext.PAGE_SCOPE);
      }
      out.write('\n');
      out.write(' ');
      movie.admin.film _film = null;
      _film =
          (movie.admin.film)
              _jspx_page_context.getAttribute("_film", javax.servlet.jsp.PageContext.PAGE_SCOPE);
      if (_film == null) {
        _film = new movie.admin.film();
        _jspx_page_context.setAttribute("_film", _film, javax.servlet.jsp.PageContext.PAGE_SCOPE);
      }
      out.write('\n');
      out.write(' ');
      org.apache.jasper.runtime.JspRuntimeLibrary.introspect(
          _jspx_page_context.findAttribute("_film"), request);
      out.write("\n");
      out.write(" \n");
      out.write("\n");
      out.write(" ");

      String action = request.getParameter("action");

      if (action.equals("list")) {
        ArrayList<film> films = gb.getDBlist();
        request.setAttribute("datas", films);
        pageContext.forward("admin_mode.jsp");
      }
      if (action.equals("back")) {
        ArrayList<film> films = gb.getDBlist();
        request.setAttribute("datas", films);
        pageContext.forward("admin_mode.jsp");
      } else if (action.equals("insert")) {
        if (gb.insertDB(_film)) {
          response.sendRedirect("film_control.jsp?action=list");
        } else throw new Exception("DB 입력 오류");
      } else if (action.equals("delete")) {

        if (gb.deleteDB(_film.getId_film())) {
          response.sendRedirect("film_control.jsp?action=list");
        } else throw new Exception("DB 삭제 오류");
      }
      // else if(action.equals("update")){
      // }
      else {
      }

      out.write("\n");
      out.write("    \n");
      out.write(
          "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
      out.write("<html>\n");
      out.write("<head>\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n");
      out.write("<title>Insert title here</title>\n");
      out.write("</head>\n");
      out.write("<body>\n");
      out.write("\n");
      out.write("</body>\n");
      out.write("</html>");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {
          }
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
  public void _jspService(
      final javax.servlet.http.HttpServletRequest request,
      final javax.servlet.http.HttpServletResponse response)
      throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;

    try {
      response.setContentType("text/html;charset=GBK");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write(
          "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n");
      out.write("<meta http-equiv=\"pragma\" content=\"no-cache\" />\r\n");
      out.write("<meta http-equiv=\"cache-control\" content=\"no-cache\" />\r\n");
      out.write("<meta http-equiv=\"expires\" content=\"0\" />   \r\n");
      out.write(" \r\n");
      out.write("<title>超市管理系统</title>\r\n");
      out.write("<script type=text/javascript>\r\n");
      out.write(" function check(form){\r\n");
      out.write("\t if(form.supplierid.value==\"\"){\r\n");
      out.write("\t\talert(\"编号不能为空\"); \r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t }\r\n");
      out.write("\t if(form.suppliername.value==\"\"){\r\n");
      out.write("\t\talert(\"供应商名称不能为空\"); \r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t }\r\n");
      out.write("\t if(form.supplierdescription.value==\"\"){\r\n");
      out.write("\t\talert(\"供应商描述不能为空\"); \r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t }\r\n");
      out.write("\t if(form.linkedman.value==\"\"){\r\n");
      out.write("\t\talert(\"联系人不能为空\"); \r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t }\r\n");
      out.write("\t if(form.telphone.value==\"\"){\r\n");
      out.write("\t\talert(\"电话不能为空\"); \r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t }\r\n");
      out.write("\t if(form.address.value==\"\"){\r\n");
      out.write("\t\talert(\"地址不能为空\"); \r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t }\r\n");
      out.write("\t if(!window.confirm(\"确定更改?\")){\r\n");
      out.write("\t\t return false;\r\n");
      out.write("\t }\r\n");
      out.write("\t return true;\r\n");
      out.write(" }\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("</head>\r\n");
      if (session.getAttribute("username") == null) {
        out.println("<script type=\"text/javascript\">");
        out.println("alert(\"您还没有登陆!请登陆!\");");
        out.println("open(\"index.jsp\",\"_parent\");");
        out.println("</script>");
        return;
      }

      out.write('\r');
      out.write('\n');

      request.setCharacterEncoding("gbk");
      long supplierid = Long.valueOf(request.getParameter("supplierid"));
      String suppliername = request.getParameter("suppliername");
      String supplierdescription = request.getParameter("supplierdescription");
      String linkedman = request.getParameter("linkedman");
      String telphone = request.getParameter("telphone");
      String address = request.getParameter("address");

      pageContext.setAttribute("supplierid", supplierid);
      pageContext.setAttribute("suppliername", suppliername);
      pageContext.setAttribute("supplierdescription", supplierdescription);
      pageContext.setAttribute("linkedman", linkedman);
      pageContext.setAttribute("telphone", telphone);
      pageContext.setAttribute("address", address);

      if (request.getParameter("change") != null) {
        Supplier supplier = new Supplier();
        supplier.setSupplierid(supplierid);
        supplier.setSuppliername(suppliername);
        supplier.setSupplierdescription(supplierdescription);
        supplier.setLinkedman(linkedman);
        supplier.setTelphone(telphone);
        supplier.setAddress(address);

        boolean consequence = new SupplierOperation().supplierinfochange(supplier);
        if (consequence) {
          out.println("<script type=\"text/javascript\">");
          out.println("alert(\"更新成功!\");");
          out.println("open(\"suppliermanage.jsp\",\"_self\");");
          out.println("</script>");
          return;
        } else {
          out.println("<script type=\"text/javascript\">");
          out.println("alert(\"更新失败!\");");
          out.println("open(\"suppliermanage.jsp\",\"_self\");");
          out.println("</script>");
          return;
        }
      }

      out.write("\r\n");
      out.write("<body>\r\n");
      out.write(
          " <form action=supplierinfochange.jsp method=post onSubmit=\"return check(this);\">\r\n");
      out.write("  <input type=hidden name=change />\r\n");
      out.write("  <div style=\"border:10px solid #4169E1;width:80%;\"  >\r\n");
      out.write("   <table>\r\n");
      out.write("     <tr><td><pre> </pre></td><td><input name=supplierid type=\"hidden\" value=");
      out.write(
          (java.lang.String)
              org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                  "${supplierid}",
                  java.lang.String.class,
                  (javax.servlet.jsp.PageContext) _jspx_page_context,
                  null,
                  false));
      out.write(" /></td></tr>\r\n");
      out.write("     <tr><td>供应商名称:</td><td><input name=suppliername type=\"text\" value=");
      out.write(
          (java.lang.String)
              org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                  "${suppliername}",
                  java.lang.String.class,
                  (javax.servlet.jsp.PageContext) _jspx_page_context,
                  null,
                  false));
      out.write(" /></td></tr>\r\n");
      out.write("    \r\n");
      out.write("<tr><td>供应商描述:</td><td><textarea name=supplierdescription>");
      out.write(
          (java.lang.String)
              org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                  "${supplierdescription}",
                  java.lang.String.class,
                  (javax.servlet.jsp.PageContext) _jspx_page_context,
                  null,
                  false));
      out.write("</textarea></td></tr>\r\n");
      out.write("     <tr><td>联系人:</td><td><input name=linkedman type=\"text\" value=");
      out.write(
          (java.lang.String)
              org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                  "${linkedman}",
                  java.lang.String.class,
                  (javax.servlet.jsp.PageContext) _jspx_page_context,
                  null,
                  false));
      out.write(" /></td></tr>\r\n");
      out.write("     <tr><td>电话:</td><td><input name=telphone type=\"text\" value=");
      out.write(
          (java.lang.String)
              org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                  "${telphone}",
                  java.lang.String.class,
                  (javax.servlet.jsp.PageContext) _jspx_page_context,
                  null,
                  false));
      out.write(" /></td></tr>\r\n");
      out.write("     <tr><td>地址:</td><td><textarea name=address >");
      out.write(
          (java.lang.String)
              org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                  "${address}",
                  java.lang.String.class,
                  (javax.servlet.jsp.PageContext) _jspx_page_context,
                  null,
                  false));
      out.write("</textarea></td></tr>\r\n");
      out.write("   </table>\r\n");
      out.write("  </div>\r\n");
      out.write(
          "  <input onclick=\"window.open('suppliermanage.jsp','_self')\" type=\"button\" value=返回 /><input type=\"submit\" value=修改数据  /><input onclick=\"window.open('supplierdelete.jsp?supplierid=");
      out.write(
          (java.lang.String)
              org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                  "${supplierid}",
                  java.lang.String.class,
                  (javax.servlet.jsp.PageContext) _jspx_page_context,
                  null,
                  false));
      out.write("','_self')\" type=button value=删除 />\r\n");
      out.write("</form>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            out.clearBuffer();
          } catch (java.io.IOException e) {
          }
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
Exemple #3
0
  public void _jspService(
      javax.servlet.http.HttpServletRequest request,
      javax.servlet.http.HttpServletResponse response)
      throws java.io.IOException, javax.servlet.ServletException {
    com.caucho.jsp.QPageContext pageContext =
        (com.caucho.jsp.QPageContext)
            com.caucho.jsp.QJspFactory.create()
                .getPageContext(this, request, response, "/error.jsp", true, 8192, true);
    javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
    javax.servlet.ServletConfig config = getServletConfig();
    javax.servlet.Servlet page = this;
    javax.servlet.http.HttpSession session = pageContext.getSession();
    javax.servlet.ServletContext application = pageContext.getServletContext();
    response.setContentType("text/html;charset=UTF-8");
    request.setCharacterEncoding("UTF-8");
    org.myconf.AuthTag _jsp_tag0 = null;
    org.apache.struts.taglib.bean.MessageTag _jsp_tag1 = null;
    org.apache.struts.taglib.html.RewriteTag _jsp_tag2 = null;
    org.apache.struts.taglib.bean.MessageTag _jsp_tag3 = null;
    try {

      // *********************************
      // security
      // *********************************

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      if (_jsp_tag0 == null) {
        _jsp_tag0 = new org.myconf.AuthTag();
        _jsp_tag0.setPageContext(pageContext);
        _jsp_tag0.setParent((javax.servlet.jsp.tagext.Tag) null);
        _jsp_tag0.setModule("admin");
      }

      _jsp_tag0.doStartTag();
      _jsp_tag0.setBodyContent(null);
      int _jsp_endTagVar3 = _jsp_tag0.doEndTag();
      if (_jsp_endTagVar3 == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);

      // *********************************
      // define
      // *********************************

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);

      // *********************************
      // variable
      // *********************************

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);

      // bbs data
      int id = RequestUtils.getParam(request, "id", 0);
      List list = BBSDAO.getDiscuss(id);
      if ((list == null) || (list.size() == 0)) {
        response.sendRedirect(
            Globals.root(request)
                + "/bbs/index2.jsp?page="
                + StringUtils.exportString(request.getParameter("page")));
        return;
      }
      String defaultTitle = null;
      BBSBean bbs = null;

      pageContext.write(_jsp_string1, 0, _jsp_string1.length);

      // *********************************
      // head
      // *********************************

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.include("/inc/head.jsp");
      pageContext.write(_jsp_string2, 0, _jsp_string2.length);

      // *********************************
      // top
      // *********************************

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.include("/inc/logo_admin.jsp");
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);

      // *********************************
      // content
      // *********************************

      pageContext.write(_jsp_string3, 0, _jsp_string3.length);
      if (_jsp_tag1 == null) {
        _jsp_tag1 = new org.apache.struts.taglib.bean.MessageTag();
        _jsp_tag1.setPageContext(pageContext);
        _jsp_tag1.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_tag1.setKey("error.staritem.not.null");
      _jsp_tag1.doStartTag();
      pageContext.write(_jsp_string4, 0, _jsp_string4.length);
      _jsp_tag1.setKey("error.staritem.not.null");
      _jsp_tag1.doStartTag();
      pageContext.write(_jsp_string5, 0, _jsp_string5.length);
      _jsp_tag1.setKey("common.title.bbs");
      _jsp_tag1.doStartTag();
      pageContext.write(_jsp_string6, 0, _jsp_string6.length);
      if (((BBSBean) list.get(0)).getIsTop() == BBSBean.TRUE) {
        pageContext.write(_jsp_string7, 0, _jsp_string7.length);
        if (_jsp_tag2 == null) {
          _jsp_tag2 = new org.apache.struts.taglib.html.RewriteTag();
          _jsp_tag2.setPageContext(pageContext);
          _jsp_tag2.setParent((javax.servlet.jsp.tagext.Tag) null);
        }

        _jsp_tag2.setPage("/bbs.do");
        int _jspEval15 = _jsp_tag2.doStartTag();
        int _jsp_endTagVar16 = _jsp_tag2.doEndTag();
        if (_jsp_endTagVar16 == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return;
        pageContext.write(_jsp_string8, 0, _jsp_string8.length);
        out.print((id));
        pageContext.write(_jsp_string9, 0, _jsp_string9.length);
        out.print((id));
        pageContext.write(_jsp_string10, 0, _jsp_string10.length);
        out.print((StringUtils.exportString(request.getParameter("page"))));
        pageContext.write(_jsp_string11, 0, _jsp_string11.length);
        if (_jsp_tag1 == null) {
          _jsp_tag1 = new org.apache.struts.taglib.bean.MessageTag();
          _jsp_tag1.setPageContext(pageContext);
          _jsp_tag1.setParent((javax.servlet.jsp.tagext.Tag) null);
        }

        _jsp_tag1.setKey("common.text.bbs.cancel.top");
        _jsp_tag1.doStartTag();
        pageContext.write(_jsp_string12, 0, _jsp_string12.length);
      } else {
        pageContext.write(_jsp_string13, 0, _jsp_string13.length);
        if (_jsp_tag2 == null) {
          _jsp_tag2 = new org.apache.struts.taglib.html.RewriteTag();
          _jsp_tag2.setPageContext(pageContext);
          _jsp_tag2.setParent((javax.servlet.jsp.tagext.Tag) null);
        }

        _jsp_tag2.setPage("/bbs.do");
        int _jspEval22 = _jsp_tag2.doStartTag();
        int _jsp_endTagVar23 = _jsp_tag2.doEndTag();
        if (_jsp_endTagVar23 == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return;
        pageContext.write(_jsp_string8, 0, _jsp_string8.length);
        out.print((id));
        pageContext.write(_jsp_string9, 0, _jsp_string9.length);
        out.print((id));
        pageContext.write(_jsp_string10, 0, _jsp_string10.length);
        out.print((StringUtils.exportString(request.getParameter("page"))));
        pageContext.write(_jsp_string14, 0, _jsp_string14.length);
        if (_jsp_tag1 == null) {
          _jsp_tag1 = new org.apache.struts.taglib.bean.MessageTag();
          _jsp_tag1.setPageContext(pageContext);
          _jsp_tag1.setParent((javax.servlet.jsp.tagext.Tag) null);
        }

        _jsp_tag1.setKey("common.text.bbs.top.article");
        _jsp_tag1.doStartTag();
        pageContext.write(_jsp_string12, 0, _jsp_string12.length);
      }
      pageContext.write(_jsp_string15, 0, _jsp_string15.length);
      if (_jsp_tag2 == null) {
        _jsp_tag2 = new org.apache.struts.taglib.html.RewriteTag();
        _jsp_tag2.setPageContext(pageContext);
        _jsp_tag2.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_tag2.setPage("/bbs.do");
      int _jspEval29 = _jsp_tag2.doStartTag();
      int _jsp_endTagVar30 = _jsp_tag2.doEndTag();
      if (_jsp_endTagVar30 == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return;
      pageContext.write(_jsp_string16, 0, _jsp_string16.length);
      out.print((id));
      pageContext.write(_jsp_string17, 0, _jsp_string17.length);
      out.print((list.size()));
      pageContext.write(_jsp_string18, 0, _jsp_string18.length);
      out.print((StringUtils.exportString(request.getParameter("page"))));
      pageContext.write(_jsp_string19, 0, _jsp_string19.length);

      for (int i = 0; i < list.size(); i++) {
        bbs = (BBSBean) list.get(i);
        if (i == 0) {
          defaultTitle = "RE:" + bbs.getTitle();
        }

        pageContext.write(_jsp_string20, 0, _jsp_string20.length);
        out.print((i));
        pageContext.write(_jsp_string21, 0, _jsp_string21.length);
        out.print((i));
        pageContext.write(_jsp_string22, 0, _jsp_string22.length);
        out.print((bbs.getId()));
        pageContext.write(_jsp_string23, 0, _jsp_string23.length);
        out.print((bbs.getTitle()));
        pageContext.write(_jsp_string24, 0, _jsp_string24.length);
        if (i == 0) {
          if (_jsp_tag1 == null) {
            _jsp_tag1 = new org.apache.struts.taglib.bean.MessageTag();
            _jsp_tag1.setPageContext(pageContext);
            _jsp_tag1.setParent((javax.servlet.jsp.tagext.Tag) null);
          }

          _jsp_tag1.setKey("common.text.bbs.master");
          _jsp_tag1.doStartTag();
        } else {
          if (_jsp_tag3 == null) {
            _jsp_tag3 = new org.apache.struts.taglib.bean.MessageTag();
            _jsp_tag3.setPageContext(pageContext);
            _jsp_tag3.setParent((javax.servlet.jsp.tagext.Tag) null);
            _jsp_tag3.setKey("common.text.bbs.ceng");
          }

          _jsp_tag3.setArg0(String.valueOf(i));
          _jsp_tag3.doStartTag();
        }
        pageContext.write(_jsp_string25, 0, _jsp_string25.length);
        out.print((bbs.getContent().replaceAll("\r", "<br>")));
        pageContext.write(_jsp_string26, 0, _jsp_string26.length);
        if (i == 0) {
          if (_jsp_tag1 == null) {
            _jsp_tag1 = new org.apache.struts.taglib.bean.MessageTag();
            _jsp_tag1.setPageContext(pageContext);
            _jsp_tag1.setParent((javax.servlet.jsp.tagext.Tag) null);
          }

          _jsp_tag1.setKey("common.text.bbs.beginer");
          _jsp_tag1.doStartTag();
        } else {
          if (_jsp_tag1 == null) {
            _jsp_tag1 = new org.apache.struts.taglib.bean.MessageTag();
            _jsp_tag1.setPageContext(pageContext);
            _jsp_tag1.setParent((javax.servlet.jsp.tagext.Tag) null);
          }

          _jsp_tag1.setKey("common.text.bbs.replyer");
          _jsp_tag1.doStartTag();
        }
        pageContext.write(_jsp_string27, 0, _jsp_string27.length);
        out.print((bbs.getAuthorName()));
        pageContext.write(_jsp_string28, 0, _jsp_string28.length);
        if (_jsp_tag1 == null) {
          _jsp_tag1 = new org.apache.struts.taglib.bean.MessageTag();
          _jsp_tag1.setPageContext(pageContext);
          _jsp_tag1.setParent((javax.servlet.jsp.tagext.Tag) null);
        }

        _jsp_tag1.setKey("common.bbs.title.issue.time");
        _jsp_tag1.doStartTag();
        out.print((StringUtils.exportDate(bbs.getCreateTime(), "yyyy-MM-dd HH:mm")));
        pageContext.write(_jsp_string29, 0, _jsp_string29.length);
        _jsp_tag1.setKey("ins.confirm.delete");
        _jsp_tag1.doStartTag();
        pageContext.write(_jsp_string30, 0, _jsp_string30.length);
        _jsp_tag1.setKey("common.button.bbs.delete");
        _jsp_tag1.doStartTag();
        pageContext.write(_jsp_string31, 0, _jsp_string31.length);
      }
      pageContext.write(_jsp_string32, 0, _jsp_string32.length);
      if (_jsp_tag2 == null) {
        _jsp_tag2 = new org.apache.struts.taglib.html.RewriteTag();
        _jsp_tag2.setPageContext(pageContext);
        _jsp_tag2.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_tag2.setPage("/bbs.do");
      int _jspEval54 = _jsp_tag2.doStartTag();
      int _jsp_endTagVar55 = _jsp_tag2.doEndTag();
      if (_jsp_endTagVar55 == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return;
      pageContext.write(_jsp_string33, 0, _jsp_string33.length);
      out.print((id));
      pageContext.write(_jsp_string34, 0, _jsp_string34.length);
      out.print((id));
      pageContext.write(_jsp_string35, 0, _jsp_string35.length);
      out.print((StringUtils.exportString(request.getParameter("page"))));
      pageContext.write(_jsp_string36, 0, _jsp_string36.length);
      _jsp_tag2.setPage("/images/orange_arrow.gif");
      int _jspEval58 = _jsp_tag2.doStartTag();
      int _jsp_endTagVar59 = _jsp_tag2.doEndTag();
      if (_jsp_endTagVar59 == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return;
      pageContext.write(_jsp_string37, 0, _jsp_string37.length);
      if (_jsp_tag1 == null) {
        _jsp_tag1 = new org.apache.struts.taglib.bean.MessageTag();
        _jsp_tag1.setPageContext(pageContext);
        _jsp_tag1.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_tag1.setKey("common.text.bbs.reply");
      _jsp_tag1.doStartTag();
      pageContext.write(_jsp_string38, 0, _jsp_string38.length);
      _jsp_tag1.setKey("common.bbs.title.subject");
      _jsp_tag1.doStartTag();
      pageContext.write(_jsp_string39, 0, _jsp_string39.length);
      out.print((defaultTitle));
      pageContext.write(_jsp_string40, 0, _jsp_string40.length);
      _jsp_tag1.setKey("common.bbs.title.content");
      _jsp_tag1.doStartTag();
      pageContext.write(_jsp_string41, 0, _jsp_string41.length);
      _jsp_tag1.setKey("common.text.bbs.reply");
      _jsp_tag1.doStartTag();
      pageContext.write(_jsp_string42, 0, _jsp_string42.length);
      _jsp_tag2.setPage("/bbs/index2.jsp?page=");
      int _jspEval74 = _jsp_tag2.doStartTag();
      int _jsp_endTagVar75 = _jsp_tag2.doEndTag();
      if (_jsp_endTagVar75 == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return;
      out.print((StringUtils.exportString(request.getParameter("page"))));
      pageContext.write(_jsp_string43, 0, _jsp_string43.length);
      _jsp_tag1.setKey("common.button.back");
      _jsp_tag1.doStartTag();
      pageContext.write(_jsp_string44, 0, _jsp_string44.length);

      // *********************************
      // end content
      // *********************************

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);

      // **********************************
      // footer
      // **********************************

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.include("/inc/footer.jsp");
      pageContext.write(_jsp_string45, 0, _jsp_string45.length);
    } catch (java.lang.Throwable _jsp_e) {
      pageContext.handlePageException(_jsp_e);
    } finally {
      if (_jsp_tag0 != null) _jsp_tag0.release();
      if (_jsp_tag1 != null) _jsp_tag1.release();
      if (_jsp_tag2 != null) _jsp_tag2.release();
      if (_jsp_tag3 != null) _jsp_tag3.release();
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
    }
  }