001 package jsp;
002
003 import javax.servlet.*;
004 import javax.servlet.http.*;
005 import javax.servlet.jsp.*;
006
007 public final class downloadCertificate_jsp extends org.apache.jasper.runtime.HttpJspBase
008 implements org.apache.jasper.runtime.JspSourceDependent {
009
010 private static java.util.List _jspx_dependants;
011
012 public Object getDependants() {
013 return _jspx_dependants;
014 }
015
016 public void _jspService(HttpServletRequest request, HttpServletResponse response)
017 throws java.io.IOException, ServletException {
018
019 JspFactory _jspxFactory = null;
020 PageContext pageContext = null;
021 HttpSession session = null;
022 ServletContext application = null;
023 ServletConfig config = null;
024 JspWriter out = null;
025 Object page = this;
026 JspWriter _jspx_out = null;
027 PageContext _jspx_page_context = null;
028
029
030 try {
031 _jspxFactory = JspFactory.getDefaultFactory();
032 response.setContentType("text/html; charset=ISO-8859-1");
033 pageContext = _jspxFactory.getPageContext(this, request, response,
034 null, true, 8192, true);
035 _jspx_page_context = pageContext;
036 application = pageContext.getServletContext();
037 config = pageContext.getServletConfig();
038 session = pageContext.getSession();
039 out = pageContext.getOut();
040 _jspx_out = out;
041
042 out.write("\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n<title>Download Certificate</title>\n<script language=\"JavaScript\">\n function validateForm() {\n obj = document.forms[0].csrId;\n if(obj.value == '') {\n alert('csrId can not be empty');\n obj.focus();\n return false;\n }\n return true;\n }\n</script>\n</head>\n<body>\n<h2>Download Certificate</h2>\n<p>This page enables you to download and install certificate issued to you by the CA. Before installing your certificate,\ninstall the CA's certificate in your web browser by clicking on the <a href=\"DownloadCertificateServlet?type=ca\"> this link</a>.</p>\n\n<form action=\"DownloadCertificateServlet\" method=\"post\">\n <table border=\"0\">\n <tr>\n <th align=\"right\">CSR Id:</th>\n <td>\n <input type=\"text\" name=\"csrId\" size=\"20\" maxlength=\"200\"/>\n");
043 out.write(" </td>\n </tr>\n </table>\n <input type=\"submit\" value=\"Download Certificate\" onClick=\"return validateForm();\"/>\n <input type=\"reset\" name=\"reset\" value=\"Reset\"/>\n</form>\n<a href=\"");
044 out.print(request.getContextPath());
045 out.write("\">Cancel</a>\n</body>\n</html>\n");
046 } catch (Throwable t) {
047 if (!(t instanceof SkipPageException)){
048 out = _jspx_out;
049 if (out != null && out.getBufferSize() != 0)
050 out.clearBuffer();
051 if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
052 }
053 } finally {
054 if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
055 }
056 }
057 }