📄 regist.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <!--注意jstl使用一定要导包-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><TITLE>Choose Format</TITLE><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
background-image: url(picture/1.jpg);
}
-->
</style></HEAD>
<body BGCOLOR="#AFF5D7">
<H1 ALIGN="CENTER">请填写学生注册信息</H1>
<%@ taglib uri="http://struts.apache.org/tags-html"
prefix="html" %>
<html:form action="/Regist">
<TABLE width="468" border="1" align="center">
<tr>
<TR><TH>姓名: <td><label><html:text property="name"/>
<html:errors property="nameMissing"/> </label></td>
<TR><TH>学号: <td><label><html:text property="num"/>
<html:errors property="numMissing"/> </label></td>
<TR><TH>密码: <td><label><html:password property="pwd"/>
<html:errors property="pwdMissing"/>
<html:errors property="pwdnosame"/> </label></td>
<TR><TH>重新输入密码: <td><label><html:password property="repwd"/>
<html:errors property="repwdMissing"/> </label></td>
<TR><TH>性别:<td><label> <html:radio property="sex" value="male" />男
<html:radio property="sex" value="female"/>女
        
<html:errors property="sexMissing"/></label></td>
<TR><TH>生日:<td><label> <html:text property="birth"/>
<html:errors property="birthMissing"/> </LABEL></TD>
<TR><TH><td><label><html:submit value="注册"/>
<html:reset value="重置"/>  
</label></td>
</TABLE>
<TR><TH>
</html:form>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -