📄 petcustomerok.jsp~10~
字号:
<%@ page contentType="text/html; charset=GB2312" import="com.pet.pets.model.DAO.impl.Petimpl,com.pet.pets.model.DAO.PetDao;" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>
petcustomerok
</title>
</head>
<jsp:useBean id="petbean" scope="session" class="com.pet.pets.model.DTO.PetBean" />
<body bgcolor="#ffffff">
<h4 align="center">
您的宠物信息如下!
</h4>
<table width="50%" border="0" align="center">
<tr>
<td width="15%"> </td>
<td width="35%"> </td>
</tr>
<tr>
<td>宠物名字:</td>
<td> ${petbean.pname}</td>
</tr>
<tr>
<td>宠物性别:</td>
<td> <c:choose><c:when test="${petbean.psex==0}">雄性</c:when><c:otherwise>雌性</c:otherwise></c:choose> </td>
</tr>
<tr>
<td>宠物类型:</td>
<td> <%PetDao petdao = new Petimpl();%><%=petdao.gettype(petbean.getPtype())%></td>
</tr>
<tr>
<td>宠物年龄:</td>
<td> ${petbean.page}岁</td>
</tr>
<tr>
<td>宠物描述:</td>
<td> ${petbean.premark}</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -