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

📄 petsearch_name.jsp

📁 爱心”宠物诊所的职员需要使用系统提供的如下功能: 浏览诊所的兽医以及他们的专业特长; 浏览宠物的主人(即诊所的客户)的相关信息; 更新宠物的主人的相关信息; 向系统中增加一个新客户; 浏览宠
💻 JSP
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="taglibs.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />

	<title>vetsearch_name.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="css/table.css">
	<link rel="stylesheet" type="text/css" href="css/default.css">
	<script type="text/javascript">
  var originRowStyle;
  function selecRow(row)
  {
    originRowStyle=row.className;
    row.className='selected';
  }
  function deSelectRow(row)
  {
     row.className=originRowStyle;
  }
</script>
</head>

<body>
	<jsp:include flush="true" page="top.jsp"></jsp:include>
	<table class=list width="600" border="1" align="center"
		bgcolor="#FFFFFF">
		<tr>
			<td height="30" align="center">
				宠物名称:
			</td>
			<td height="30" align="center">
				所有人名称:
			</td>
		</tr>
		<!--DWLayoutTable-->
		<c:forEach items="${petList }" var="petList">
			<tr class=first onmouseover="selecRow(this)"
				onmouseout="deSelectRow(this)">
				<td height="30" align="center">
					<html:link action="/toPet?method=view" paramId="petID"
						paramName="petList" paramProperty="petID"> ${petList.petName }</html:link>
				</td>
				<td height="30" align="center">
					<html:link action="/topetOwnerOper?method=view"
						paramId="petOwnerID" paramName="petList"
						paramProperty="petOwnerID">${petList.petOwnerName }</html:link>
				</td>
			</tr>
		</c:forEach>
		<tr>
			<td colspan="2" align="left">
				<bean:write name="fenye" property="showpage" />
				页/共
				<bean:write name="fenye" property="allpage" />
				页 共
				<bean:write name="fenye" property="alllist" />
				<html:link action="toPet.do?method=search" paramId="showpage"
					paramName="fenye" paramProperty="fristpage">首页</html:link>
				<html:link action="toPet.do?method=search" paramId="showpage"
					paramName="fenye" paramProperty="previouspage">上一页</html:link>
				<html:link action="toPet.do?method=search" paramId="showpage"
					paramName="fenye" paramProperty="nextpage">下一页</html:link>
				<html:link action="toPet.do?method=search" paramId="showpage"
					paramName="fenye" paramProperty="lastpage">尾页</html:link>
			</td>
		</tr>
	</table>
		
		<p>
	
	<table border="0" align="center">
	
		<tr>
			<td colspan="2" align="center">
				<a href="petsearch.jsp">重新查询</a>
			</td>
		</tr>
	</table>
	<jsp:include flush="true" page="tail.jsp"></jsp:include>
</body>
</html:html>

⌨️ 快捷键说明

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