⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 area_005fcx_jsp.java

📁 JSP移动商品管理平台源代码.........
💻 JAVA
字号:
package org.apache.jsp.imis_005fhous.Check;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import imis_hous.com.impl.*;
import java.util.*;

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

  private static java.util.Vector _jspx_dependants;

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=gb2312");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"", true, 8192, true);
      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 HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
      out.write("<title>");
      out.write("</title>\r\n\t\t");
      out.write("<script language=\"JavaScript\" src=\"/Imis/imis_hous/jf/checkdata.js\">\r\n");
      out.write("</script>\r\n");
      out.write("<link href=\"/Imis/imis_hous/css/style.css\"  rel=\"stylesheet\" type=\"text/css\">\r\n\r\n");
      out.write("</head>\r\n\r\n");
      out.write("<body  background=\"/Imis/imis_hous/css/images/bg_main.png\">\r\n ");
      out.write("<table align=\"center\" width=\"100%\" border=\"0\" class=\"ziti\">\r\n    ");
      out.write("<tr>\r\n      ");
      out.write("<td colspan=\"3\" height=\"20\"  background=\"/Imis/imis_hous/css/images/bg_main2.png\">");
      out.write("<font color=\"#000000\">地块信息查询");
      out.write("</font>");
      out.write("</td>\r\n    ");
      out.write("</tr>\r\n  ");
      out.write("</table>\r\n");
      out.write("<form name=\"form1\" method=\"post\" action=\"/Imis/servlet/areaInfoPage?currentPage=1\"  target=\"blank\">\r\n\r\n  ");
      out.write("<table align=\"center\" width=\"100%\" border=\"0\" class=\"ziti\" background=\"/Imis/Imis_hous/css/images/bg_main.png\"> \r\n    ");
      out.write("<tr>\r\n      ");
      out.write("<td width=\"377\">");
      out.write("<div align=\"right\">地块名称:");
      out.write("</div>");
      out.write("</td>\r\n      ");
      out.write("<td width=\"394\">\r\n      ");
      out.write("<select name=\"J_AreaName\" class=\"text1\">\r\n       ");
      out.write("<option selected value=\"-1\">所有");
      out.write("</option>\r\n        ");

        HashMap hashDept = new GetBuildName().getDepartment("AreaNu","AreaName","area_info");
        int length = hashDept.size();
		String []deptName = new String[length];//部门数组
		String []deptId= new String[length];//部门用房面积数组
		
		
		Iterator itDeptId = hashDept.keySet().iterator();//键迭代
		Iterator itDeptName = hashDept.values().iterator();//值迭代
		int i=0;
		while(itDeptId.hasNext()){
			deptId[i] = itDeptId.next().toString();
			i++;
		}
		i=0;
		while(itDeptName.hasNext()){
			deptName[i] = itDeptName.next().toString();
			i++;
		}
			
			for(int j=0;j<length;j++ ){
         	
      out.write("\r\n         ");
      out.write("<option value = ");
      out.print(deptId[j] );
      out.write(">");
      out.print(deptName[j] );
      out.write("</option>\t\r\n         ");
 }
      out.write("\r\n");
      out.write("</select>\r\n      ");
      out.write("</td>\r\n    ");
      out.write("</tr>\r\n    ");
      out.write("<tr>\r\n      ");
      out.write("<td>");
      out.write("<div align=\"right\">地块状况: ");
      out.write("</div>");
      out.write("</td>\r\n      ");
      out.write("<td>");
      out.write("<select name=\"J_AreaStatus\" class=\"text1\">\r\n        ");
      out.write("<option selected value=\"0\">所有");
      out.write("</option>\r\n        ");
      out.write("<option value=\"1\">已使用");
      out.write("</option>\r\n        ");
      out.write("<option value=\"2\">未使用");
      out.write("</option>\r\n      ");
      out.write("</select>");
      out.write("</td>\r\n    ");
      out.write("</tr>\r\n\t");
      out.write("<tr>\r\n\t");
      out.write("<td>&nbsp;&nbsp;");
      out.write("</td>\r\n\t");
      out.write("<td>&nbsp;&nbsp;");
      out.write("</td>\r\n\t");
      out.write("</tr>\r\n    ");
      out.write("<tr>\r\n      ");
      out.write("<td colspan=\"2\">\r\n        ");
      out.write("<div align=\"center\">\r\n          ");
      out.write("<input type=\"submit\" name=\"Submit\" value=\"查   询\" class=\"anniu\">\r\n        ");
      out.write("</div>");
      out.write("</td>\r\n    ");
      out.write("</tr>\r\n  ");
      out.write("</table>\r\n");
      out.write("</form>\r\n\r\n\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (pageContext != null) pageContext.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -