updateonehouse.jsp

来自「本软件系统可以实现预定酒店的多方位查询、预订酒店的功能。可以方便人们入住酒店,增」· JSP 代码 · 共 34 行

JSP
34
字号
<%@ 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 + =
减小字号Ctrl + -
显示快捷键?