selectSfzyCity_jsp.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:8k
源码类别:

企业管理

开发平台:

Java

  1. package org.apache.jsp;
  2. import javax.servlet.*;
  3. import javax.servlet.http.*;
  4. import javax.servlet.jsp.*;
  5. import org.apache.jasper.runtime.*;
  6. import java.sql.*;
  7. import java.util.List;
  8. import java.util.ArrayList;
  9. import com.domain.CsxxForm;
  10. import com.tool.Chinese;
  11. public class selectSfzyCity_jsp extends HttpJspBase {
  12.   private static java.util.Vector _jspx_includes;
  13.   public java.util.List getIncludes() {
  14.     return _jspx_includes;
  15.   }
  16.   public void _jspService(HttpServletRequest request, HttpServletResponse response)
  17.         throws java.io.IOException, ServletException {
  18.     JspFactory _jspxFactory = null;
  19.     javax.servlet.jsp.PageContext pageContext = null;
  20.     HttpSession session = null;
  21.     ServletContext application = null;
  22.     ServletConfig config = null;
  23.     JspWriter out = null;
  24.     Object page = this;
  25.     JspWriter _jspx_out = null;
  26.     try {
  27.       _jspxFactory = JspFactory.getDefaultFactory();
  28.       response.setContentType("text/html; charset=gb2312");
  29.       pageContext = _jspxFactory.getPageContext(this, request, response,
  30.        "", true, 8192, true);
  31.       application = pageContext.getServletContext();
  32.       config = pageContext.getServletConfig();
  33.       session = pageContext.getSession();
  34.       out = pageContext.getOut();
  35.       _jspx_out = out;
  36.       out.write("rn");
  37.       out.write("rn");
  38.       out.write("rn");
  39.       out.write("rn");
  40.       out.write("rn");
  41.       out.write("rn");
  42.       out.write("<html>rn");
  43.       out.write("<head>rn");
  44.       out.write("<meta http-equiv="Content-Type" content="text/html; charset=gb2312">rn");
  45.       out.write("<title>鍏蜂綋鍩庡競");
  46.       out.write("</title>rn");
  47.       out.write("<style type="text/css">rn");
  48.       out.write("<!--rnbody {rntbackground-color: #000000;rntmargin-left: 0px;rntmargin-top: 0px;rn}rntd{rnfont-size:9pt;rn}rn.style1 {font-size: 11pt}rn-->rn");
  49.       out.write("</style>rn");
  50.       out.write("</head>rn");
  51.       out.write("<body>rn");
  52.       out.write("<table width="579" border="0" cellpadding="0" cellspacing="0">rn  ");
  53.       out.write("<tr>rn    ");
  54.       out.write("<td align="left" valign="top" bgcolor="#FFFFFF"> ");
  55.       out.write("<table width="579"   border="0" cellpadding="0" cellspacing="0">rn        ");
  56.       out.write("<tr>rn          ");
  57.       out.write("<td align="left" valign="top" bgcolor="#FFFFFF">");
  58.       out.write("<table width="579" border="0" cellpadding="0" cellspacing="0">rn              ");
  59.       out.write("<tr>rn                ");
  60.       out.write("<td width="2%" height="28">&nbsp;");
  61.       out.write("</td>rn                ");
  62.       out.write("<td width="9%" background="images/circle.jpg">&nbsp;");
  63.       out.write("</td>rn                ");
  64.       out.write("<td width="89%" bgcolor="#FFFFFF">鍏蜂綋鍩庡競");
  65.       out.write("</td>rn              ");
  66.       out.write("</tr>rn              ");
  67.       out.write("<tr style="line-height:2px">rn                ");
  68.       out.write("<td width="2%" height="5">&nbsp;");
  69.       out.write("</td>rn                ");
  70.       out.write("<td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;");
  71.       out.write("</td>rn              ");
  72.       out.write("</tr>rn              ");
  73.       out.write("<tr align="center" valign="top" bgcolor="#FFFFFF">rn                ");
  74.       out.write("<td height="454" colspan="3">");
  75.       out.write("<p>");
  76.       out.write("<br>rn                    ");
  77. String province=Chinese.str(request.getParameter("province"));
  78. int maxPage=0;
  79. List list=(List)request.getAttribute("form");
  80. int total=Integer.parseInt((String)request.getAttribute("totalCity"));
  81. int number=Integer.parseInt((String)request.getAttribute("number"));
  82. maxPage=total;
  83. if(maxPage%8==0){
  84. maxPage=maxPage/8;
  85. }else{
  86. maxPage=maxPage/8+1;
  87. }
  88.       out.write("rn                    ");
  89.       out.print(province);
  90.       out.write("<br>rn                    ");
  91.       out.write("<br>                  rn                  ");
  92.       out.write("</p>rn                  ");
  93.       out.write("<table width="542" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666">rn                    ");
  94.       out.write("<tr align="center" bgcolor="#ffcc33">rn                      ");
  95.       out.write("<td width="109">鐪佷唤绠