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

📄 hospital_up.jsp~8~

📁 这是java编写宠物医院项目
💻 JSP~8~
字号:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<meta  http-equiv="content-type" content="text/html; chstset=utf-8" />
<title>
hospital_up</title>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
.STYLE2 {color: #0066FF}
-->
</style>
</head>
<body bgcolor="#ffffff">
<h2 align="center">病例修改</h2>
 <form name="form1" method="post" action="../controller?action=hospital&method=up_name">
<table width="403" border="0" align="center">
  <tr>
    <td width="117" height="32">请输入宠物名:</td>
    <td width="183"><label>
      <input name="name" type="text" id="name">
    </label></td>
    <td width="89"><input type="submit" name="Submit" value="提交"></td>
  </tr>
</table>
</form>
<p>&nbsp;</p>
<table width="984" border="0" align="center"  >
  <tr>
    <td width="126" height="24">编号</td>
    <td width="127">宠物</td>
    <td width="127">兽医</td>
    <td width="129">所有人</td>
    <td width="137">病因</td>
    <td width="119">登记时间</td>
    <td width="189">&nbsp;</td>
  </tr>
  <c:forEach var="hosp" items="${requestScope.hosp}">
  <tr>
    <form name="form2" method="post" action="">
    <td bgcolor="#666666"> <span class="STYLE2">
      <input name="id" type="text" id="id" value="${hosp.id}" size="17" readonly="true" >
    </span></td>
    <td><input name="textfield2" type="text" value="${hosp.pname}" size="17" ></td>
    <td><span class="STYLE3 STYLE1">
      <input name="vname" type="text" id="vname" value="${hosp.vname}" size="17">
    </span></td>
    <td><span class="STYLE3 STYLE1">
      <input name="hname" type="text" id="hname" value="${hosp.hname}" size="17">
    </span></td>
    <td><span class="STYLE3 STYLE1">
      <input name="hospital" type="text" id="hospital" value="${hosp.hospital}" size="17">
    </span></td>
    <td>${hosp.time}</td>
    <td><input type="submit" name="Submit2" value="提交"> </td>
    </form>
  </tr>
  </c:forEach>
</table>
<c:if test="${param.result==false}">
  <h2 align="center" class="STYLE3 STYLE1">
    <label></label>
  </h2>
</c:if>
</body>
</html>

⌨️ 快捷键说明

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