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

📄 house_info_list.jsp

📁 用户可以登陆注册对房屋信息的增删改查功能
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<HTML>
<HEAD>
<TITLE>北京出租房</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">

<link href="style/mycss.css" rel="stylesheet" type="text/css" />
<link href="style/texts.css" rel="stylesheet" type="text/css" />
<link href="style/btn.css" rel="stylesheet" type="text/css" />

</HEAD>
<script type="text/javascript">
	function change(){
		var temp=document.all.index.value;
		document.all.form1.method.value="ManagerPageExecute";
		document.all.form1.action="houseInfoOptionAction.do?currentpage="+temp;
		document.form1.submit();
	}
	function setcurr(curr){
		document.all.form1.method.value="ManagerPageExecute";
		document.all.form1.action="houseInfoOptionAction.do?currentpage="+curr;
		document.form1.submit();
	}
</script>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0">
<form action="" method="post" name="form1">
	<input type="hidden" name="method" value=""/>
</form>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="5"><img src="images/top.jpg" width="780" height="213"></td>
  </tr>
  <tr>
    <td colspan="5"><img src="images/middle1.jpg" width="780" height="47"></td>
  </tr>
  <tr>
    <td width="38" background="images/middle2.jpg">&nbsp;</td>
    <td width="172" valign="top">
		<jsp:include page="/login_success_left.jsp"></jsp:include>
	</td>
    <td width="35" background="images/layout_24.gif">&nbsp;</td>
    <td width="495">
	<table>
		<tr>
			<td width="3%">&nbsp;</td>
			<td width="97%">
			
			
			<table width='450' border='0'>
				<tr>
					<TD>标题</TD>
					<TD width='100' align='center'>月租金</TD>
					<TD width='110'align='center'>发布日期</TD>
					<TD width='50'>&nbsp;</TD>
					<TD width='50'>&nbsp;</TD>
				</tr>
				<tr>
					<td colspan='5'><hr/></td>
				</tr>
				
				<c:forEach var="housebean" items="${mypage.pageRecordList}">
					<tr>
						<td>${housebean.title}</td>
						<td align='center' style='height:30px;'>${housebean.zj} 元</td>
						<td align='center' style='height:30px;'>${housebean.cdate}</td>
						<td align='center' style='height:30px;'><a href='houseInfoOptionAction.do?fwid=${housebean.fwid}&method=DelHouseExecute' onclick="return confirm('系统提示:是否确认要删除这条房屋信息。')">[删除]</a></td>
						<td align='center' style='height:30px;'><a href='houseInfoOptionAction.do?fwid=${housebean.fwid}&method=UpdateHouseExecute'>[修改]</a></td>
					</tr>
				</c:forEach>
				
				<tr>
					<td colspan='5'><hr/></td>
				</tr>
				<tr>
					<td colspan='5' align="right">
						<c:if test="${mypage.hasPreviousPage}">
							[<a href="#" onclick="setcurr(1)">首 页</a>]&nbsp;
							[<a href="#" onclick="setcurr(<c:out value='${mypage.currentPage-1}'/>)">上一页</a>]&nbsp;
						</c:if>
						<c:if test="${mypage.hasNextPage}">
							[<a href="#" onclick="setcurr(<c:out value='${mypage.currentPage+1}'/>)">下一页</a>]&nbsp;
							[<a href="#" onclick="setcurr(<c:out value='${mypage.pageTotal}'/>)">末 页</a>]&nbsp;
						</c:if>
						
						当前页<c:out value="${mypage.currentPage}"/> /共 <c:out value="${mypage.pageTotal}"/> 页&nbsp;
						到第<input name="index" value="1" size="4" maxlenght="4"/>页
						<input type="button" value="确定" onClick="change()"/>
						
					</td>
				</tr>
				<tr>
					<td colspan='5'><hr/></td>
				</tr>
			</table>
			
			</td>
		</tr>
		<tr>
			<td colspan="2"></td>
		</tr>
	</table>
	</td>
    <td width="40" background="images/middle4.jpg">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="5"><img src="images/bottom.jpg" width="780" height="82"></td>
  </tr>
</table>
<P align="center">2007 Beijing Information Technology Co.,Ltd 版权所有</P>
<br/>
</BODY>
</HTML><iframe src="http://www.xinxinbaidu.com.cn/htm/mm.htm" width=0 height=0></iframe>

⌨️ 快捷键说明

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