日期:2014-05-17 浏览次数:20757 次
/**
* 数据导出页面跳转
*/
@Override
protected void doGet(final HttpServletRequest request,
final HttpServletResponse response) throws ServletException,
IOException {
response.setContentType("text/html; charset=UTF-8");
PrintWriter out = response.getWriter();
out.println("<HTML>");
out.println("<HEAD>");
out.println("<TITLE>数据导出</TITLE>");
out.println("<script language=\"javascript\" type=\"text/javascript\" src=\"jquery.js\"></script>");
out.println("<script language=\"javascript\" type=\"text/javascript\" src=\"jquery.validate.js\"></script>");
out.println("<script language=\"javascript\" type=\"text/javascript\" src=\"WdatePicker.js\"></script>");
out.println("</HEAD>");
out.println("<style type=\"text/css\">input {vertical-align:middle;}</style>");
out.println("<body>");
out.println("<form action=\"/dataexportsubmit\" method=\"post\" id=\"form\">");
out.println("<table width=\"800\" align=\"center\" border=\"0\">");
out.println("<caption align=\"left\">数据导出</caption>");
out.println("<tr><td>行政区划代码:</td><td><input id=\"aab301\" name=\"aab301\" class=\"required isZipCode\" maxlength=\"6\" width=\"20\" /></td></tr>");
out.println("<tr><td>数据期别:</td><td><input id=\"aae043\" name=\"aae043\" type=\"text\" class=\"required Wdate\" readonly=\"true\" onfocus=\"WdatePicker({skin:'whyGreen',dateFmt:'yyyyMM'})\" width=\"20\"/></td></tr>");
out.println("<tr><td>文件导出路径:</td><td><input id=\"dir\" name=\"dir\" type=\"text\" class=\"required\" readonly=\"true\" width=\"50\" /><button type=\"button\" onClick=\"selectPath()\">路径选择</button></td></tr>");
out.println("<tr></tr>");
out.println("<tr><td><input name=\"systype_lras\" value=\"1\" style=\"display:none;\" /></td><td><input type=\"submit\" value=\"导出数据\" /></td></tr>");
out.println("</table></form>");
out.println("</body>");