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

📄 searchpetcasehistory.jsp~17~

📁 一个基于JAVA的BS结构的宠物诊所管理系统.是当年在学校时写的,大家指点一下.
💻 JSP~17~
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib tagdir="/WEB-INF/tags/" prefix="mytag"%>
<HTML>
<HEAD>
<TITLE>宠物信息</TITLE>
<script type="" language="JavaScript">
      function toAlterPet(pid,pname,oid,oname,ptid){
         document.alterPetForm.id.value=pid;
         document.alterPetForm.petName.value=pname;
         document.alterPetForm.petTypeID.value=ptid;
         document.alterPetForm.ownerName.value=oname;
         document.alterPetForm.ownerID.value=oid;
         document.alterPetForm.submit();
         return ;
      }

      function toAddPetCaseHistoryForm(pId,pName,oName){
         document.addPetCaseHistoryForm.petId.value=pId;
         document.addPetCaseHistoryForm.petName.value=pName;
         document.addPetCaseHistoryForm.ownerName.value=oName;
         document.addPetCaseHistoryForm.submit();
         return ;
      }

      function toAddPetCaseHistoryForm(pid){
         document.searchPetCaseHistoryForm.petId.value=pid;
         document.addPetCaseHistoryForm.submit();
         return ;
      }

</script>
<style type="text/css">
<!--
.STYLE9 {font-size: 14}
.STYLE10 {color: #00CC99}
.STYLE15 {color: #00CC99; font-size: 14px; font-weight: bold; }
-->
</style>
</HEAD>
<LINK href="datasrc/style.css" type=text/css rel=stylesheet>
<body>
<mytag:head/>
<!-- 在这里开始加入动态内容 -->
<TABLE width=776 border=0 align=center cellPadding=0 cellSpacing=0 background=datasrc/centerbg.gif>
  <TR>
    <TD align="center" vAlign=top>
<!-- 在这里结束加入动态内容 -->
      <c:choose>
        <c:when test="${not empty FromSearchPetCaseHistoryActionMessage}" >

          <table width="98%" cellpadding="3" cellspacing="3">

            <tr>
              <td colspan="2" align="center">
              <font size="3" color="#ff0000"><b>${FromAddPetCaseHistoryActionMessage}</b></font>
            </td>
            </tr>
          </table>


          <table width="90%" border="1" align="center" bordercolor="#FF9900">
      <tr>
        <th>疾病/生病信息</th>
        <th>处方 药方</th>
        <th>费用</th>
        <th>就诊时间</th>
      </tr>
    <c:forEach items="${requestScope.PetCaseHistorys.petCaseHistorys}" var="pchObj">
    <tr>
        <td>${pchObj.illnessInfo}</td>
        <td>${pchObj.prescription}</td>
        <td>${pchObj.outlay}</td>
        <td>${pchObj.inTime}</td>
      </tr>
    </c:forEach>
    </table>
</c:when>
<c:otherwise>
  <font size="+2" color="#ff0000"><b>没有查询到相关的资料,请核对您的查询请求!</b></font>
</c:otherwise>
</c:choose>
<!-- 在这里结束加入动态内容 -->
</td>
</tr>
</table>

<!-- 在这里结束加入动态内容 -->
<mytag:cauda/>
</BODY>
</HTML>

⌨️ 快捷键说明

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