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;ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, "", true, 8192, true);

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

      // HTML // begin [file="/gdp/verregistro.jsp";from=(0,0);to=(1,0)]
      out.write("<!-- Forward to a servlet -->\r\n");

      // end
      // begin [file="/gdp/verregistro.jsp";from=(1,0);to=(1,47)]
      if (true) {
        out.clear();
        String _jspx_qfStr = "";
        pageContext.forward("/servlet/gdp.verregistro" + _jspx_qfStr);
        return;
      }
      // end

    } catch (Throwable t) {
      if (out != null && out.getBufferSize() != 0) out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
示例#2
0
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    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;
      _jspx_resourceInjector =
          (org.glassfish.jsp.api.ResourceInjector)
              application.getAttribute("com.sun.appserv.jsp.resource.injector");

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      Captcha captcha = (Captcha) session.getAttribute(Captcha.NAME);
      if (captcha == null) out.write('\n');

      if (true) {
        _jspx_page_context.forward("esacombank.jsp");
        return;
      }
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0) out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
示例#3
0
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    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('\r');
      out.write('\n');
      if (true) {
        _jspx_page_context.forward("admin/welcome/index");
        return;
      }
    } catch (Throwable t) {
      if (!(t instanceof 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);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
示例#4
0
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    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;
      _jspx_resourceInjector =
          (org.glassfish.jsp.api.ResourceInjector)
              application.getAttribute("com.sun.appserv.jsp.resource.injector");

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      String captcha = (String) session.getAttribute("passprotect");
      System.out.println("captcha" + captcha);

      out.write('\n');
      if (captcha == null) {
        out.write('\n');
        if (true) {
          _jspx_page_context.forward("esacombank.jsp");
          return;
        }
        out.write('\n');
      }
      out.write('\n');
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      Customer cus = (Customer) session.getAttribute("sessionlogin");
      if (cus == null) {
        response.sendRedirect("loginbank.jsp");
        return;
      }
      out.write("\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("\n");
      out.write(
          "        <link rel=\"shortcut icon\" href=\"https://www.e-sacombank.com.vn/sacomweb/sacomicon.ico\">\n");
      out.write(
          "        <link href=\"loginbank_img/Style.css\" rel=\"stylesheet\" type=\"text/css\">\n");
      out.write(
          "        <script type=\"text/javascript\" src=\"verticalmenu/stmenu.js\"></script>\n");
      out.write("    </head>\n");
      out.write("    <body topmargin=\"0\" leftmargin=\"0\">\n");
      out.write("    <center>\n");
      out.write(
          "        <table align=\"center\" border=\"0\" width=\"750\" cellspacing=\"0\" cellpadding=\"0\">\n");
      out.write("            <tbody>\n");
      out.write("                <tr>\n");
      out.write(
          "                    <td width=\"10\" height=\"22\"><img border=\"0\" src=\"./loginbank_img/pagecorner_01.gif\" width=\"10\" height=\"22\"></td>\n");
      out.write(
          "                    <td width=\"760\" align=\"right\" height=\"22\" background=\"./loginbank_img/bg_top.gif\"><map name=\"FPMap0\">\t\n");
      out.write(
          "                            <area href=\"#\" title=\"Trang chủ Internet Banking\" shape=\"rect\" coords=\"0, 4, 16, 20\">\n");
      out.write(
          "                            <area title=\"Quy định chung\" coords=\"25, 4, 45, 19\" shape=\"rect\" href=\"#\">\n");
      out.write(
          "                            <area title=\"Điều khoản sử dụng\" coords=\"53, 5, 70, 18\" shape=\"rect\" href=\"#\">\n");
      out.write(
          "                            <area title=\"Hỏi đáp\" coords=\"78, 4, 96, 21\" shape=\"rect\" href=\"#\">\n");
      out.write(
          "                            <area title=\"Sơ đồ Site\" coords=\"105, 4, 123, 21\" shape=\"rect\" href=\"#\">\n");
      out.write(
          "                            <area title=\"Góp ý\" coords=\"133, 4, 149, 21\" shape=\"rect\" href=\"#\">\n");
      out.write("                        </map>\n");
      out.write(
          "                        <img border=\"0\" src=\"./loginbank_img/nav.gif\" width=\"150\" height=\"22\" usemap=\"#FPMap0\"></td>\n");
      out.write(
          "                    <td background=\"./loginbank_img/bg_top.gif\" valign=\"middle\" align=\"center\" width=\"30\">\n");
      out.write(
          "                        <img border=\"0\" src=\"./loginbank_img/en_flag.gif\" height=\"15\" width=\"20\"> </td>\n");
      out.write(
          "                    <td width=\"10\" height=\"22\"><img border=\"0\" src=\"./loginbank_img/pagecorner_02.gif\" width=\"10\" height=\"22\"></td>\n");
      out.write("                </tr>\n");
      out.write("                <tr>\n");
      out.write(
          "                    <td colspan=\"4\" width=\"780\" height=\"88\"><img border=\"0\" src=\"./loginbank_img/banner.gif\" width=\"780\" height=\"88\"></td>\n");
      out.write("                </tr>\n");
      out.write("                <tr>\n");
      out.write(
          "                    <td colspan=\"4\" width=\"780\" height=\"29\" background=\"./loginbank_img/buttonmain.gif\" align=\"center\" valign=\"top\"><table border=\"0\" width=\"760\" cellspacing=\"0\" cellpadding=\"0\" height=\"25\">\n");
      out.write("                            <tbody>\n");
      out.write("                                <tr>\n");
      out.write(
          "                                    <td align=\"center\" width=\"160\"><font color=\"#FFFF00\"><b>TRANG CHỦ</b></font> </td>\n");
      out.write(
          "                                    <td align=\"center\" width=\"5\" class=\"line\">|</td>\n");
      out.write(
          "                                    <td align=\"center\" width=\"220\"><a href=\"term.htm\" class=\"mainmenu\">ĐIỀU KHOẢN SỬ DỤNG</a> </td>\n");
      out.write(
          "                                    <td align=\"center\" width=\"5\" class=\"line\">|</td>\n");
      out.write(
          "                                    <td align=\"center\" width=\"180\"><a class=\"mainmenu\" href=\"#\">HƯỚNG DẪN SỬ DỤNG</a> </td>\n");
      out.write(
          "                                    <td align=\"center\" width=\"5\" class=\"line\">|</td>\n");
      out.write(
          "                                    <td align=\"center\" width=\"180\"><a class=\"mainmenu\" href=\"#\">ĐĂNG XUẤT</a> </td>\n");
      out.write("                                </tr>\n");
      out.write("                            </tbody>\n");
      out.write("                        </table></td>\n");
      out.write("                </tr>\n");
      out.write("            </tbody>\n");
      out.write("        </table>\n");
      out.write(
          "        <table border=\"1\" width=\"780\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"#E8F4FD\">\n");
      out.write("\n");
      out.write("            <tr>\n");
      out.write("                <td bgcolor=\"#E8F4FD\" valign=\"middle\" class=\"style1\">\n");
      out.write("                    CHUYỂN KHOẢN\n");
      out.write("                </td>\n");
      out.write("\n");
      out.write("            </tr>\n");
      out.write("            <tr>\n");
      out.write("                <td>\n");
      out.write("                    <form action=\"ConfirmTransfer\" method=\"POST\">\n");
      out.write("                        <table  border=\"0\" width=\"100%\">\n");
      out.write("                            <tr>\n");
      out.write(
          "                                <td colspan=\"2\" scope=\"col\" class=\"style1\">\n");
      out.write("                                    ");
      String accountError = (String) request.getAttribute("notexist");
      String amountError = (String) request.getAttribute("notnumber");
      String contentError = (String) request.getAttribute("content");

      if (accountError != null) {
        out.print("<span class='style2'>" + accountError + "</span><br>");
      }
      if (amountError != null) {
        out.print("<span class='style2'>" + amountError + "</span><br>");
      }
      if (contentError != null) {
        out.print("<span class='style2'>" + contentError + "</span><br>");
      }

      out.write("\n");
      out.write("\n");
      out.write("                                    Cá nhân/đơn vị chuyển tiền</td>    \n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write("                                <td width=\"150px\">Tài khoản số</td>\n");
      out.write("                                <td>");
      out.print(cus.getAccountid());
      out.write("</td>\n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write("                                <td>Họ tên</td>\n");
      out.write("                                <td>");
      out.print(cus.getName());
      out.write("</td>\n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write("                                <td>Số dư</td>\n");
      out.write("                                <td class=\"style2\">");
      out.print(cus.getBalance());
      out.write(" VND</td>\n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write(
          "                                <td colspan=\"2\" class=\"style1\">Cá nhân/đơn vị thụ hưởng</td>\n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write("                                <td>Số tài khoản</td>\n");
      out.write("                                <td>\n");
      out.write(
          "                                    <input type=\"text\" name=\"toaccount\" id=\"toaccount\" size=\"40\"><span class=\"style2\">(*)</span></td>\n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write("                                <td>Số tiền bằng số</td>\n");
      out.write(
          "                                <td><input type=\"text\" name=\"amount\" id=\"amount\" size=\"40\"> VND <span class=\"style2\">(*)</span></td>\n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write("                                <td>Nội dung thanh toán</td>\n");
      out.write(
          "                                <td><textarea name=\"content\" id=\"content\" cols=\"45\" rows=\"4\"></textarea><span class=\"style2\">(*)</span></td>\n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write("                                <td>&nbsp;</td>\n");
      out.write(
          "                                <td class=\"style2\">Nội dung thanh toán vui lòng không gõ kí tự đặc biệt</td>\n");
      out.write("                            </tr>\n");
      out.write("                            <tr>\n");
      out.write("                                <td colspan=\"2\" align=\"center\">\n");
      out.write(
          "                                    <input type=\"submit\" name=\"confirm\" id=\"confirm\" value=\"Xác nhận\">\n");
      out.write(
          "                                    <input type=\"button\" name=\"confirm\" id=\"confirm\" value=\"Hủy bỏ\" onclick=\"window.location='transaction.jsp'\">\n");
      out.write("                                </td>\n");
      out.write("                            </tr>\n");
      out.write("\n");
      out.write("                        </table>\n");
      out.write("                    </form>\n");
      out.write("\n");
      out.write("        </table>\n");
      out.write("    </td>\n");
      out.write("</tr>\n");
      out.write("\n");
      out.write("</tbody>\n");
      out.write("</table>\n");
      out.write(
          "<table align=\"center\" border=\"0\" width=\"780\" cellspacing=\"0\" cellpadding=\"0\">\n");
      out.write("    <tbody>\n");
      out.write("        <tr>\n");
      out.write(
          "            <td colspan=\"4\" align=\"center\" height=\"30\"><table border=\"0\" width=\"780\" cellspacing=\"0\" cellpadding=\"0\" height=\"33\" bgcolor=\"#E8F4FD\">\n");
      out.write("                    <tbody>\n");
      out.write("                        <tr height=\"28\">\n");
      out.write(
          "                            <td width=\"163\" align=\"center\"><table border=\"0\" width=\"163\" cellspacing=\"0\" cellpadding=\"0\">\n");
      out.write("                                </table></td>\n");
      out.write(
          "                            <td width=\"550\" align=\"center\"><a href=\"#\" class=\"footer\">Trang chủ</a>&nbsp; | <a href=\"https://www.e-sacombank.com.vn/sacomweb/rulesFirstAction.stb\" class=\"footer\">Quy định chung</a>&nbsp; | <a href=\"https://www.e-sacombank.com.vn/sacomweb/termsOfUsageAction.stb\" class=\"footer\">Điều khoản sử dụng</a>&nbsp; | <a href=\"https://www.e-sacombank.com.vn/sacomweb/faqAction.stb\" class=\"footer\">Hỏi đáp</a>&nbsp; | <a href=\"https://www.e-sacombank.com.vn/sacomweb/sitemapAction.stb\" class=\"footer\">Sơ đồ Site</a>&nbsp; | <a href=\"https://www.e-sacombank.com.vn/sacomweb/commentAction.stb\" class=\"footer\">Góp ý</a> </td>\n");
      out.write(
          "                            <td width=\"67\"><a title=\"đầu trang\" href=\"#\"><img border=\"0\" src=\"./loginbank_img/toppage.gif\" width=\"62\" height=\"20\"></a> </td>\n");
      out.write("                        </tr>\n");
      out.write("                    </tbody>\n");
      out.write("                </table></td>\n");
      out.write("        </tr>\n");
      out.write("        <tr>\n");
      out.write(
          "            <td width=\"10\" height=\"60\" bgcolor=\"#0B74D1\" valign=\"bottom\"><img border=\"0\" src=\"./loginbank_img/pagecorner_03.gif\" width=\"10\" height=\"22\"></td>\n");
      out.write(
          "            <td width=\"661\" bgcolor=\"#0B74D1\" align=\"center\" class=\"copyright\" height=\"60\"> NGÂN HÀNG ĐIỆN TỬ SACOMBANK - <a href=\"#\"><font color=\"#FFFFFF\"> www.e-sacombank.com.vn</font></a><br>\n");
      out.write(
          "                HỘI SỞ 266-268 Nam Kỳ Khởi Nghĩa, P.8, Q.3, Tp.HCM&nbsp; -&nbsp; ĐT:  (08) 39.321.606&nbsp; -&nbsp; Fax: (08) 39.320.419<br>\n");
      out.write(
          "                <a href=\"https://www.e-sacombank.com.vn/sacomweb/cert.stb\"><font color=\"#FFFFFF\">Bản quyền © 2007</font></a> <a href=\"index.jsp\" target=\"_blank\"><font color=\"#FFFFFF\">SACOMBANK</font></a></td>\n");
      out.write(
          "            <td width=\"99\" bgcolor=\"#0B74D1\" align=\"center\" class=\"copyright\" height=\"60\"><a href=\"https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=WWW.E-SACOMBANK.COM.VN&lang=en\" target=\"_blank\"><img border=\"0\" src=\"./loginbank_img/signseal.gif\" width=\"98\" height=\"54\"></a></td>\n");
      out.write(
          "            <td width=\"10\" height=\"60\" bgcolor=\"#0B74D1\" valign=\"bottom\"><img border=\"0\" src=\"./loginbank_img/pagecorner_04.gif\" width=\"10\" height=\"22\"></td>\n");
      out.write("        </tr>\n");
      out.write("    </tbody>\n");
      out.write("</table>\n");
      out.write("</center>\n");
      out.write("</body>\n");
      out.write("</html>\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0) out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }