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

📄 room_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 common.DepartmentsBean;
import java.util.*;

public final class Room_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%\" class=\"ziti\" background=\"/Imis/imis_hous/css/images/bg_main.png\">\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td colspan=\"2\" 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\t");
      out.write("</table>\r\n");
      out.write("<form name=\"form1\" method=\"post\" action=\"/Imis/servlet/roomInfoPage?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\r\n  ");
      out.write("<tr>\r\n      ");
      out.write("<td width=\"367\">");
      out.write("<div align=\"right\">使用部门:");
      out.write("</div>");
      out.write("</td>\r\n      ");
      out.write("<td width=\"404\">\r\n      ");
      out.write("<select name=\"J_UseDept\" class=\"text1\">\r\n      ");
      out.write("<option selected value=\"-1\">所有");
      out.write("</option> \r\n       ");
 
		
		int deptId4= 0;
		String deptName4 = null;
		DepartmentsBean describe = new DepartmentsBean();
		ArrayList list = describe.getDepts();
		Iterator itr = list.iterator();
        while (itr.hasNext()) {
     	Hashtable ht = (Hashtable) itr.next();  
		deptId4      =  Integer.parseInt(ht.get("deptId").toString());
       	deptName4   =  ht.get("deptName").toString(); 
       		
		
      out.write("\r\n\t\t");
      out.write("<option value=");
      out.print(deptId4);
      out.write(">");
      out.print(deptName4);
      out.write("</option>\r\n\t\t");

		}
		
      out.write("\r\n");
      out.write("</select>\r\n\r\n&nbsp;&nbsp;  ");
      out.write("<input type=\"submit\" name=\"Submit\" value=\"查   询\" class=\"anniu\">\r\n");
      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 + -