📄 vetsearch_name.jsp~83~
字号:
<%@ page contentType="text/html; charset=GBK" import="java.util.Vector;" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<jsp:useBean id="pp" scope="session" class="bean.VetDTO"/>
<%
Vector vc=new Vector();
vc=pp.selectAll();
Object[] temp1=vc.toArray();
String[][] vetContent=new String[vc.size()][3];
for(int i=0;i<vc.size();i++)
{
String[] arr2=new String[vc.size()];
arr2=(String[])temp1[i];
for(int j=0;j<arr2.length;j++)
{
vetContent[i][j]=arr2[j];
}
}
%>
<html>
<head>
<title>
vetsearch_name
</title>
</head>
<body bgcolor="#ffffff">
<jsp:include flush="true" page="vetsearch.jsp"/>
<h3>医师信息如下</h3>
<hr width="100%"/>
<table width="600" align="center" border="1" bgcolor="#858585">
<tr>
<th width="200">医师编号</th>
<th width="200">医师姓名</th>
<th width="200">医师专业</th>
</tr>
<c:forEach items="<%=vetContent%>" var="display" varStatus="status">
<tr>
<c:forEach items="${display}" var="last">
<td align="center">${last}</td>
</c:forEach>
</tr>
</c:forEach>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -