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

📄 ownerupdate.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>修改宠物主人</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">
 function show()
 {
   window.location.href='toPet.do?method=search';
 }
</script>
  </head>
  
  <body>
   <jsp:include flush="true" page="top.jsp"></jsp:include>
		<html:form action="/topetOwnerOper?method=update">
	
			<table class="list" width="38%" border="0" align="center" bgcolor="#FFFFFF">
				<tr>
					<td width="30%" align="right">
						所有人名称:
					</td>
					<td width="70%" align="left">
					<input type="hidden" name="petOwnerId" value="${petOwner.petOwnerId}">
						<html:text property="petOwnerName" value="${petOwner.petOwnerName}"/>
						
					</td>
				</tr>
				<tr>
					<td align="right">
						地址:
					</td>
					<td>
						<html:text property="petOwnerAddress" value="${petOwner.petOwnerAddress}"/>
					
					</td>
				</tr>
				<tr>
					<td align="right">
						城市:
					</td>
					<td>
						<html:text property="petOwnerCity" value="${petOwner.petOwnerCity}"/>
						
					</td>
				</tr>
				<tr>
					<td align="right">
						电话号码:
					</td>
					<td>
						<html:text property="petOwnerTelNo" value="${petOwner.petOwnerTelNo}"/>
					
					</td>
				</tr>
				<tr>
					<td align="right">
						性别:
					</td>
					<td>
					
						<html:radio property="sex" value="男" />
					
						<html:radio property="sex" value="女" />
					</td>
				</tr>
				<tr>
					<td align="right">
						爱好:
					</td>
					<td>
						<html:multibox property="hobbies" value="0" />
						音乐
						<html:multibox property="hobbies" value="1" />
						武术
						<html:multibox property="hobbies" value="2" />
						爬山
					    <html:multibox property="hobbies" value="3" />
						旅游
					</td>
				</tr>
				<tr>
					<td align="right">
						备注:
					</td>
					<td>
						<html:textarea property="demo" rows="4" cols="30" value="${petOwner.demo}"/>
					</td>
				</tr>


				<tr align="center">
					<td colspan="2">
						<input type="submit" name="Submit" value="修改">
						<input type="reset" name="Submit" value="放弃" onclick=show();>
					</td>

				</tr>
			</table>

		</html:form>
			<jsp:include flush="true" page="tail.jsp"></jsp:include>
  </body>
</html:html>

⌨️ 快捷键说明

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