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

📄 newregistration.jsp

📁 该源码包括了基于J2EE的数据持久层设计,设计中使用了DAO,Service,等模式,并在Struts下进行了测试.
💻 JSP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=gb2312"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>New User</title>
<style  type="text/css">
<!--
.style1 {
	font-size: xx-large;
	font-weight: bold;
}
.style4 {font-size: 18px}
.style6 {font-size: 18px; color: #0000FF; }
body {
	background-color: #FFFFFF;
}
.style7 {font-family: "Times New Roman", Times, serif}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.style8 {font-family: "Times New Roman", Times, serif; font-size: 18px; }
.style9 {font-size: 16px}
-->
</style>
</head>
<body>
 <p class="style4 style7"><span class="style8">Your Location:</span><a href="<%=request.getContextPath()%>/pages/index.jsp"> FrontPage</a>&gt;&gt;New User Registration </p>
 <div align="center" class="style1">
   <p>User Registeration </p>  
   <html:form  action="newUserGegistration.do"> 
   <table width="593" border="0">
     <tr>
       <th width="180" scope="row"><span class="style4">Username</span></th>
       <td width="168">
         <div align="center">
            <html:text property="username"  size="20"/>
       </div></td>
       <td width="231"><span class="style6">6 characters</span></td>
     </tr>
     <tr>
       <th scope="row"><span class="style4">Password</span></th>
       <td>
         <div align="center">
           <html:password property="password"  size="20"/>
       </div></td>
       <td><span class="style6">4 characters</span></td>
     </tr>
     <tr>
       <th scope="row"><span class="style4">Confirm Password </span></th>
       <td><div align="center">
            <html:password property="passwordconfirm"  size="20"/>
       </div></td>
       <td>&nbsp;</td>
     </tr>
     <tr>
       <th scope="row"><span class="style4">Gender</span></th>
       <td>
         <div align="left">
             <blockquote>
			     <p name="select">
                 <select name="gender">
                   <option selected>Male</option>
                   <option>Female</option>
                 </select>
               </p>
             </blockquote>
       </div></td>
       <td>&nbsp;</td>
     </tr>
     <tr>
       <th scope="row"><span class="style4">Email</span></th>
       <td><div align="center">
           <input type="text" name="email">
       </div></td>
       <td>&nbsp;</td>
     </tr>
     <tr>
       <th colspan="3" scope="row"><div align="left"><span class="style4">Please enter your area of interests</span></div></th>
     </tr>
     <tr>
       <th colspan="3" scope="row">
         <div align="center">
           <textarea name="interests" cols="85" rows="16"></textarea>
</div></th>
     </tr>
     <tr>
       <th colspan="2" scope="row"><input type="submit" name="Submit2" value="Submit"></th>
       <th scope="row"><input type="reset" name="Submit" value="Reset"></th>
     </tr>
   </table>
   </html:form>
   <blockquote>
     <blockquote>
       <blockquote>
         <blockquote>
           <blockquote>
             <blockquote>
               <blockquote>
                 <blockquote>
                   <blockquote>
                     <blockquote>
                       <p align="left">&nbsp;                                                                                                                        </p>
                     </blockquote>
                   </blockquote>
                 </blockquote>
               </blockquote>
             </blockquote>
           </blockquote>
         </blockquote>
       </blockquote>
     </blockquote>
   </blockquote>
</div>
</body>
</html>

⌨️ 快捷键说明

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