コード例 #1
0
 public String getCharacterEncoding() {
   return request.getCharacterEncoding();
 }
コード例 #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");
      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("<!DOCTYPE html>\n");
      out.write("<html lang=\"fr\">\n");
      out.write("\t<head>\n");
      out.write("\t\t<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n");
      out.write("\t\t");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(
          request, response, "../../import.jsp", out, false);
      out.write("\n");
      out.write("    \t<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n");
      out.write("    \t<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n");
      out.write("\t\t<meta name=\"generator\" content=\"Bootply\" />\n");
      out.write(
          "\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\">\n");
      out.write("\t\t<link rel=\"stylesheet\" href=\"");
      if (_jspx_meth_c_005furl_005f0(_jspx_page_context)) return;
      out.write("\" media=\"screen\"/>\n");
      out.write("\t\t<!-- Faire fonctionner les balises structurantes de HTML5 -->\n");
      out.write("    \t<!--[if lt IE 9]>\n");
      out.write(
          "      \t\t<script src=\"http://html5shiv.googlecode.com/svn/trunk/html5.js\"></script>\n");
      out.write("    \t<![endif]-->\n");
      out.write("\t\t<title>Réinitialiser mot de passe</title>\n");
      out.write("\t\t\n");
      out.write("\t\t<style type=\"text/css\">\n");
      out.write("      \t\tbody\n");
      out.write("\t\t\t{\n");
      out.write("\t\t\t    background-repeat:no-repeat;\n");
      out.write("\t\t\t    background-size:cover;\n");
      out.write("\t\t\t    width: 400px;\n");
      out.write("    \t\t\tmargin: auto;\n");
      out.write("    \t\t\tmargin-top : 20%;\n");
      out.write("\t\t\t    font-family: 'PT Sans', Helvetica, Arial, sans-serif;\n");
      out.write("\t\t\t    font-size: 16px;\n");
      out.write("\t\t\t}\n");
      out.write("    \t</style>\n");
      out.write("\t</head>\n");
      out.write("\t<body style=\"background-image:url(");
      if (_jspx_meth_c_005furl_005f1(_jspx_page_context)) return;
      out.write(")\">\n");
      out.write("\t\t");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(
          request,
          response,
          "../../header.jsp"
              + (("../../header.jsp").indexOf('?') > 0 ? '&' : '?')
              + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(
                  "page_active", request.getCharacterEncoding())
              + "="
              + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(
                  "confirmation_mail_mdpo", request.getCharacterEncoding())
              + "&"
              + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(
                  "connected", request.getCharacterEncoding())
              + "="
              + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(
                  (java.lang.String)
                      org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                          "${connected}",
                          java.lang.String.class,
                          (PageContext) _jspx_page_context,
                          null,
                          false),
                  request.getCharacterEncoding()),
          out,
          false);
      out.write("\n");
      out.write("\t\n");
      out.write("\t\t<div class=\"container\" id=\"message\">\n");
      out.write(
          "\t      <h4><span style=\"color:white;\">Un mail de confirmation vient de vous être envoyée</span></h4>\n");
      out.write("\t\n");
      out.write("\t      <div id=\"lien\">\n");
      out.write("\t\t<div><a href=\"hello\">retourner à la page d'Acceuil</a></div>\n");
      out.write("\t      </div>\n");
      out.write("\t    </div>\n");
      out.write("\t</body>\n");
      out.write("</html>");
    } 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);
    }
  }