天天看点

输出

<%@ page contentType="text/html"%> 
<%@ page pageEncoding="gb2312"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<fmt:requestEncoding value="gb2312"/> 
<html> 
 <head> 
 <title>修改注册信息</title> 
 </head> 
 <body> 
 <h2 align="center">请修改注册信息</h2> 
 <form name="form1" action="../../../Desktop/register_confirm.jsp" method="post"
       onsubmit="return isValidate(form1)">
 <table align="center"> 
 <tr> 
 <td> 用户 ID:</td> 
 <td><input type="text" name="userid" value="${param.userid}"> </td> 
 </tr> 
 <tr> 
 <td> 用户名:</td> 
 <td><input type="text" name="username" value="${param.username}"> </td> 
 </tr> 
 <tr> 
 <td> 口令:</td> 
 <td><input type="password" name="userpass" value="${param.userpass}"></td> 
 </tr> 
 <tr> 
 <td> 确认口令:</td> 
 <td><input type="password" name="userpass2" value="${param.userpass}"> 
</td> 
 </tr> 
 <tr> 
 <td> 生日:</td> 
 <td><input type="text" name="birthday" value="${param.birthday}"> 
格式为:1988-1-1</td> 
 </tr> 
 <tr> 
 <td> 学历:</td> 
 <td> 
 <input type="radio" name="degree" value="专科" 
<c:if test="${param.degree == \"专科\"}">checked</c:if>>专科 
 <input type="radio" name="degree" value="本科" 
<c:if test="${param.degree == \"本科\"}">checked</c:if>>本科

 <input type="radio" name="degree" value="硕士研究生" 
<c:if test="${param.degree == \"硕士\"}">checked</c:if>>硕士
 <input type="radio" name="degree" value="博士研究生" 
<c:if test="${param.degree == \"博士\"}">checked</c:if>>博士
 <input type="radio" name="degree" value="其他" 
<c:if test="${param.degree == \"其他\"}">checked</c:if>>其他
 </td> 
 </tr> 
 <tr> 
 <td> 地区:</td> 
 <td> 
 <select name="local"> 
 <option value="华东">华东</option> 
 <option value="华南" 
<c:if test="${param.local == \"华南\"}">selected</c:if> >华南</option> 
 <option value="华北" 
<c:if test="${param.local == \"华北\"}">selected</c:if> >华北</option> 
 <option value="东南" 
<c:if test="${param.local == \"东南\"}">selected</c:if> >东南</option> 
 <option value="西南" 
<c:if test="${param.local == \"西南\"}">selected</c:if> >西南</option> 
 <option value="西北" 
<c:if test="${param.local == \"西北\"}">selected</c:if> >西北</option> 
 <option value="东北" 
<c:if test="${param.local == \"东北\"}">selected</c:if> >东北</option> 
 <option value="华中" 
<c:if test="${param.local == \"华中\"}">selected</c:if> >华中</option> 
 </select> 
 </td> 
 </tr> 
 <tr> 
 <td> E-mail:</td> 
 <td><input type="text" name="email" value="${param.email}"></td> 
 </tr> 
 <tr> 
 <td> 地址:</td> 
 <td><input type="text" name="address" value="${param.address}"></td> 
 </tr> 
 <tr> 
 <td> 电话:</td> 


 <td><input type="text" name="phone" value="${param.phone}"></td> 
 </tr> 
 <tr> 
 <td> 备注:</td> 
 <td> 
 <textarea rows="8" name="comment" cols="40"> 
 ${param.comment} 
 </textarea></td> 
 </tr> 
 <tr> 
 <td> <input type="reset" value="重置"></td> 
 <td> <input type="submit" value="提交"></td> 
 </tr> 
 <table> 
 </form> 
 </body> 
</html>