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

📄 roombuyinfo_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 java.util.*;
import imis_hous.com.impl.*;

public final class RoomBuyInfo_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");
      out.write("</head>\r\n\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");
      out.write("<script type=\"text/javascript\">\r\n        \tfunction checkTwoDate( StartDate,EndDate ) { \r\n        \t\t\t\tvar StartDate = document.form1.J_RoomBuyDate.value;\r\n        \t\t\t\tvar EndDate = document.form1.J_RoomBuyDateed.value;\r\n\t\t\t\t\t\t\t \tif( StartDate > EndDate ) { \r\n                                alert(\"用结束日期不能大于开始日期!\"); \r\n                                return false; \r\n                               } \r\n                                return true; \r\n                               } \r\n ");
      out.write("</script>\r\n");
      out.write("<body background=\"/Imis/imis_hous/css/images/bg_main.png\">\r\n");
      out.write("<table align=\"center\" width=\"100%\"   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/roomBuyInfoPage?currentPage=1\" target=\"blank\" onsubmit=\"return checkTwoDate()\">\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=\"382\">");
      out.write("<div align=\"right\">购置房屋名称:");
      out.write("</div>");
      out.write("</td>\r\n      ");
      out.write("<td>\r\n      ");
      out.write("<select name=\"J_RoomInfo\" class=\"text1\"> \r\n      ");
      out.write("<option selected value=\"0\">所有");
      out.write("</option>       \r\n       ");

        HashMap hashDept = new GetBuildName().getDepartment("RoomInfo","RoomInfo","RoomBuyInfo");
        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         \t");
      out.write("<option value=");
      out.print(deptId[j]);
      out.write(">");
      out.print( deptName[j] );
      out.write("</option>\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 width=\"389\">");
      out.write("<input name=\"J_RoomBuyDate\" id=\"J_RoomBuyDate\" size=\"10\" maxlength=\"10\" readonly=\"readonly\" type=\"text\" class=\"text1\" onMouseDown=\"javascript:setday(form1.J_RoomBuyDate);\"/>");
      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 width=\"389\">");
      out.write("<input name=\"J_RoomBuyDateed\" id=\"J_RoomBuyDateed\" size=\"10\" maxlength=\"10\" readonly=\"readonly\" type=\"text\" class=\"text1\" onMouseDown=\"javascript:setday(form1.J_RoomBuyDateed);\"/>");
      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\">");
      out.write("<div align=\"right\">");
      out.write("</div>        \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");
      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 + -