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

📄 register.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>
<script src="/strutsCase2/jsp/js/valiInfo.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/strutsCase2/jsp/css/css.css">
<script src="/strutsCase2/jsp/js/return.js"></script>
</head>
<body>
<center>
<html:form action="register.do">
<table>
<tr><td><b><bean:message key="register.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="register.title"/>
</td>
</tr>

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

<tr class="tr_content">
<td><bean:message key="student.password"/></td>
<td><html:password property="password"></html:password></td>
<td><bean:message key="student.rePassword"/></td>
<td><html:password property="repassword"></html:password></td>
</tr>


<tr class="tr_content">
<td><bean:message key="student.sAge"/></td>
<td><html:text property="sage"></html:text></td>
<td><bean:message key="student.teamID"/></td>
<td><html:text property="teamid"></html:text></td>
</tr>
<tr class="tr_content">
<td><bean:message key="student.sAddr"/></td>
<td colspan="3" align="left"><html:text property="saddr" size="30"></html:text></td>
</tr>
<tr class="tr_content">
<td colspan="4" align="right"><html:button property="" onclick="vailInfo()"><bean:message key="button.submit"/></html:button>
<html:button property="" onclick="returnIndex()"><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 + -