/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/7.0.22
 * Generated at: 2017-02-17 09:05:22 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp.install;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class install_005fparams_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
  }

  public void _jspDestroy() {
  }

  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=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\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("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n");
      out.write("<title>系统参数设置--JEECMS安装向导</title>\r\n");
      out.write("<link href=\"img/style.css\" type=\"text/css\" rel=\"stylesheet\"/>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("\tfunction formSubmit() {\r\n");
      out.write("\t\tif (document.getElementById('dbPassword').value == '') {\r\n");
      out.write("\t\t\tif (!confirm(\"您没有填写数据库密码，您确定数据库密码为空吗？\")) {\r\n");
      out.write("\t\t\t\treturn false;\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\tdocument.getElementById('beforeSubmit').style.display = \"none\";\r\n");
      out.write("\t\tdocument.getElementById('afterSubmit').style.display = \"\";\r\n");
      out.write("\t}\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<div class=\"regist-header box\">\r\n");
      out.write("  <div class=\"rgheader box\">\r\n");
      out.write("         <div class=\"brand fl\">\r\n");
      out.write("            <h1 style=\"margin:0px;\"><a href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${base}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("/\"> ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${site.name}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("</a></h1>\r\n");
      out.write("         </div>\r\n");
      out.write("     </div>\r\n");
      out.write("</div>\r\n");
      out.write("<form action=\"install_setup.svl\" method=\"post\"\r\n");
      out.write("\tonsubmit=\"return formSubmit();\">\r\n");
      out.write("\t\r\n");
      out.write("\t<div class=\"main\">\r\n");
      out.write("  <table width=\"980\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"rg-tbg\">\r\n");
      out.write("    <tr>\r\n");
      out.write("      <td height=\"76\" align=\"center\"><h2>2、系统参数设置（环境要求：jdk1.6或以上、tomcat6或以上、mysql5.0或以上）</h2>\r\n");
      out.write("\t  <span style=\"color:#016dd0;\">请设置系统相关参数</span></td>\r\n");
      out.write("    </tr>\r\n");
      out.write("    <tr>\r\n");
      out.write("      <td>\r\n");
      out.write("\t  <table width=\"600\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"\r\n");
      out.write("\t>\r\n");
      out.write("\t\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td align=\"center\" valign=\"top\">\r\n");
      out.write("\t\t  <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\"\r\n");
      out.write("\t\t\tcellspacing=\"0\" style=\"border:1px solid #b5b5b5;\">\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"30%\" height=\"30\" align=\"right\">数据库主机：</td>\r\n");
      out.write("\t\t\t\t<td width=\"22%\" align=\"left\"><input name=\"dbHost\" type=\"text\"\r\n");
      out.write("\t\t\t\t\tclass=\"input\" id=\"dbHost\" value=\"127.0.0.1\" /></td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">数据库的ip地址，如果是本机无需改动</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"30%\" height=\"30\" align=\"right\">数据库端口号：</td>\r\n");
      out.write("\t\t\t\t<td width=\"22%\" align=\"left\"><input name=\"dbPort\" type=\"text\"\r\n");
      out.write("\t\t\t\t\tclass=\"input\" id=\"dbPort\" value=\"3306\" /></td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">数据库的端口号，一般无需改动</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">数据库名称：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input name=\"dbName\" type=\"text\" class=\"input\"\r\n");
      out.write("\t\t\t\t\tid=\"dbName\" value=\"jeecmsv8\" /></td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">&nbsp;</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">数据库用户：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input name=\"dbUser\" type=\"text\" class=\"input\"\r\n");
      out.write("\t\t\t\t\tid=\"dbUser\" value=\"root\" /></td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">&nbsp;</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">数据库密码：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input name=\"dbPassword\" type=\"text\"\r\n");
      out.write("\t\t\t\t\tclass=\"input\" id=\"dbPassword\" /></td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">安装数据库时输入的密码</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">是否创建数据库：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input type=\"radio\" name=\"isCreateDb\"\r\n");
      out.write("\t\t\t\t\tvalue=\"true\" checked=\"checked\" />是 <input type=\"radio\"\r\n");
      out.write("\t\t\t\t\tname=\"isCreateDb\" value=\"false\" />否</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">如果您自己手工创建了数据库，请选否</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">是否创建表：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input type=\"radio\" name=\"isCreateTable\"\r\n");
      out.write("\t\t\t\t\tvalue=\"true\" checked=\"checked\" />是 <input type=\"radio\"\r\n");
      out.write("\t\t\t\t\tname=\"isCreateTable\" value=\"false\" />否</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">如果您自己手工创建了表，请选否</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">是否初始化数据：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input type=\"radio\" name=\"isInitData\"\r\n");
      out.write("\t\t\t\t\tvalue=\"true\" checked=\"checked\" />是 <input type=\"radio\"\r\n");
      out.write("\t\t\t\t\tname=\"isInitData\" value=\"false\" />否</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">如果您自己手工初始化了数据，请选否</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">域名：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input name=\"domain\" type=\"text\" class=\"input\"\r\n");
      out.write("\t\t\t\t\tvalue=\"");
      out.print(request.getServerName());
      out.write("\" /></td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">系统已经检测出您的域名，请勿改动</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">部署路径：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input name=\"cxtPath\" type=\"text\"\r\n");
      out.write("\t\t\t\t\tclass=\"input\" value=\"");
      out.print(request.getContextPath());
      out.write("\" /></td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">系统已经检测出您的部署路径，请勿改动</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"30\" align=\"right\">端口号：</td>\r\n");
      out.write("\t\t\t\t<td align=\"left\"><input name=\"port\" type=\"text\" class=\"input\"\r\n");
      out.write("\t\t\t\t\tvalue=\"");
      out.print(request.getServerPort());
      out.write("\" /></td>\r\n");
      out.write("\t\t\t\t<td align=\"left\">系统已经检测出您的端口号，请勿改动</td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t</table>\t  </td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td height=\"30\" align=\"center\"><span\r\n");
      out.write("\t\t\tid=\"beforeSubmit\">\r\n");
      out.write("\t\t  <input type=\"submit\" class=\"regist-submit\"\r\n");
      out.write("\t\t\tvalue=\" 提 交 \" />\r\n");
      out.write("</span> <span id=\"afterSubmit\"\r\n");
      out.write("\t\t\tstyle=\"display: none; color: red;\">安装需要十几秒的时间，请您耐心等待...</span></td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("</table>\r\n");
      out.write("\t  </td>\r\n");
      out.write("    </tr>\r\n");
      out.write("  </table>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("<input type=\"hidden\" name=\"dbFileName\"\r\n");
      out.write("\tvalue=\"/install/db/jeecms-db-v8.sql\" /> <input type=\"hidden\"\r\n");
      out.write("\tname=\"initFileName\" value=\"/install/db/jeecms-init-v8.sql\" />\r\n");
      out.write("</form>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } 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);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
