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

📄 displaystuinfo.jsp

📁 实现从用户登陆页面到用户信息页面的跳转。完成数据库连接
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
<link rel="stylesheet" style="text/css" href="/strutsCase2/jsp/css/css.css">
<script src="/strutsCase2/jsp/js/return.js"></script>
</head>
<body>
<center>
<table cellpadding="0" cellspacing="1" width="500"  bgcolor="#330066">
<tr class="tr_title">
<td><bean:message key="student.sId"/></td>
<td><bean:message key="student.sName"/></td>
<td><bean:message key="student.sAge"/></td>
<td><bean:message key="student.teamID"/></td>
<td><bean:message key="student.sAddr"/></td>
<td><bean:message key="student.operator"/></td>
</tr>

<logic:iterate id="stu" name="studentInfo" scope="request">
<tr class="tr_content">
<td><bean:write name="stu" property="sid"/></td>
<td><bean:write name="stu" property="sname"/></td>
<td><bean:write name="stu" property="sage"/></td>
<td><bean:write name="stu" property="teamid"/></td>
<td><bean:write name="stu" property="saddr"/></td>
<td><html:link  page="/delete.do" paramName="stu" paramId="sid" paramProperty="sid"><bean:message key="table.link.delete"/></html:link>
<html:link page="/detail.do" paramName="stu" paramId="sid" paramProperty="sid"><bean:message key="table.link.details"/></html:link></td>
</tr>
</logic:iterate>

<tr class="tr_title">
<td colspan="6" align="right"><html:button property="" onclick="returnIndex()"><bean:message key="detail.button.return"/></html:button></td>
</tr>
</table>
<html:errors property="delete"/>
<html:errors property="update"/>
</center>
</body>
</html>

⌨️ 快捷键说明

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