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

📄 updateonehouse.jsp

📁 本软件系统可以实现预定酒店的多方位查询、预订酒店的功能。可以方便人们入住酒店,增加酒店的收入
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%
	String houseName = (String)request.getAttribute("houseName");
	String normalPrice = (String)request.getAttribute("normalPrice");
	String vipPrice = (String)request.getAttribute("vipPrice");
	String breakfast = (String)request.getAttribute("breakfast");
	String house_type_id = (String)request.getAttribute("house_type_id");
	String hotelid = (String)request.getAttribute("hotelid");
%>
<html>

<head>

<title>UpdateOneHouse.jsp</title>
</head>

<body>

<form method="POST" action="<%=request.getContextPath()%>/HouseTypeServlet">
  
  <p>房间类型:<input type="text" name="houseName" size="20" value=<%=houseName%>><br>
  门市价:&nbsp; <input type="text" name="normalPrice" size="20" value=<%=normalPrice%>><br>
  会员价:&nbsp; <input type="text" name="vipPrice" size="20" value=<%=vipPrice%>><br>
  早餐情况:<input type="text" name="breakfast" size="20" value=<%=breakfast%>><br>
  <INPUT TYPE="hidden" name="hotelid" value=<%=hotelid%>>
  <INPUT TYPE="hidden" name="house_type_id" value=<%=house_type_id%>>
  <INPUT TYPE="hidden" name="action" value=updateHouseType>
  <input type="submit" value="提交" name="B1"><input type="reset" value="全部重写" name="B2"></p>
</form>

</body>

</html>

⌨️ 快捷键说明

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