regist.jsp

来自「考试管理,是的对计算机等级考试报名,管理的具体实现」· JSP 代码 · 共 40 行

JSP
40
字号
<%@ 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"/>女
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
 <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="重置"/>&nbsp&nbsp
	</label></td>
</TABLE>
<TR><TH>
</html:form>
</BODY></HTML>

⌨️ 快捷键说明

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