📄 pname_search.jsp
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>pname_search</title>
<link href="<%=request.getContextPath()%>/css/fund.css" rel="stylesheet" type="text/css"/>
<script type="" language="JavaScript">
function readVisit(){
document.form1.action="petvisitservlet?action=read&petid=${ownersdto.pid}";
document.form1.submit();
}
function addVisit(){
document.form1.action="petvisitservlet?action=add&petid=${ownersdto.pid}";
document.form1.submit();
}
</script>
</head>
<body bgcolor="#ffffff">
<%@include file="header.jsp"%>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="thd" width="70%" align="center">
<form action="updatepetservlet?action=update&pid=${ownersdto.pid}" method="POST" name="form1">
<table border="0" width="60%">
<tr>
<td class="tdata" width="50%">宠物名称</td>
<td class="tdata" width="50%">
<input class="inputstyle" size="1" type="text" name="pname" value="${ownersdto.pname}"/>
</td>
</tr>
<tr>
<td class="tdata" width="50%">类型</td>
<td class="tdata" width="50%">
<input class="inputstyle" size="1" type="text" name="tname" value="${ownersdto.tname}"/>
</td>
</tr>
<tr>
<td class="tdata" width="50%">出生日期</td>
<td class="tdata" width="50%">
<input class="inputstyle" size="1" type="text" name="birth" value="${ownersdto.birth_date}"/>
</td>
</tr>
<tr>
<td class="tdata" width="50%">所有人名称</td>
<td class="tdata" width="50%">
<input class="inputstyle" size="1" type="text" name="oname" value="${ownersdto.oname}"/>
</td>
</tr>
<tr>
<td colspan="1" align="center">
<input class="btnaction" type="button" name="btn1" value="阅览病历" onclick="readVisit()"/>
</td>
<td colspan="1" align="center">
<input class="btnaction" type="button" name="btn2" value="增加新病历" onclick="addVisit()"/>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input class="btnaction" type="submit" name="aaa" value="修改信息"/>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<%@include file="foot.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -