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

📄 detail.jsp

📁 实现从用户登陆页面到用户信息页面的跳转。完成数据库连接
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ 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:html>
<head>
<link rel="stylesheet" type="text/css" href="/strutsCase2/jsp/css/css.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="/strutsCase2/jsp/js/valiInfoUpdate.js"></script>
</head>
<body>
<center>
<html:form action="update.do">

<table>
<tr><td><b><bean:message key="detail.title"/></b></td></tr>
</table>


<table cellpadding="0" cellspacing="0" width="500" border="0" bgcolor="#330066">
<tr class="tr_title">
<td colspan="4"><bean:message key="detail.title"/></td>
</tr>

<tr class="tr_content">
<td><bean:message key="student.sId"/></td>
<td><html:text property="sid" name="studentInfo" readonly="true"></html:text></td>
<td><bean:message key="student.sName"/></td>
<td><html:text property="sname" name="studentInfo" readonly="true"></html:text></td>
</tr>

<tr class="tr_content">
<td><bean:message key="student.password"/></td>
<td align="left"><html:password property="password" name="studentInfo" readonly="true"></html:password></td>
<td><bean:message key="student.rePassword"/></td>
<td align="left"><html:password property="password" name="studentInfo" readonly="true"></html:password></td>
</tr>

<tr class="tr_content">
<td><bean:message key="student.sAge"/></td>
<td><html:text property="sage" name="studentInfo" readonly="true"></html:text></td>
<td><bean:message key="student.teamID"/></td>
<td align="left"><html:select property="teamid" name="studentInfo" disabled="true">
<html:option value="t01">一组</html:option>
<html:option value="t02">二组</html:option>
<html:option value="t03">三组</html:option>
<html:option value="t04">四组</html:option>
<html:option value="t05">五组</html:option>
<html:option value="t05">六组</html:option>
</html:select></td>
</tr>

<tr class="tr_content">
<td><bean:message key="student.sAddr"/></td>
<td colspan="3" align="left"><html:text name="studentInfo" property="saddr" readonly="true"></html:text></td>
</tr>

<tr class="tr_content">
<td colspan="4" align="right"><html:button property="enter" onclick="changeButton()"><bean:message key="detail.button.update"/></html:button>
<html:button property="return" onclick="window.history.back()"><bean:message key="detail.button.return"/></html:button></td>
</tr>

</table>
</html:form>

</center>
</body>
</html:html>

⌨️ 快捷键说明

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