下面是一个注册页面代码,实体BEAN有了 ,DAO有了,还差什么
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
商业拍卖--注册</title>
<link href="images/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
body{
font-size:12px;
text-align:center;
margin-top:30px;
font-family:Verdana;
background-color: #000000;

div,img{margin:0; padding:0; border:0;} 
ul,li{list-style-type: none; margin:0; padding:0; float:left; } 
#info{ margin-left:auto; margin-right:auto;width:760px; text-align:left;} 
#new{ margin-top:-12px;position: absolute;margin-left:-12px;} 
#nav{ height:30px; width:610px; margin-left:auto; margin-right:auto;} 
#nav li{margin-left:1px; height:30px;} 
#nav li a{ display:block;float:left; text-decoration:none; background-image: url(images/200661115718239.gif);background-repeat: no-repeat; display:block; background-position:left top;} 
#nav a span{cursor:hand; color:#000;background-image: url(images/200661115735753.gif);background-repeat: no-repeat; display:block;background-position: right top; padding:7px 10px 6px 10px; float:left; } 
#nav li a:active,#nav li a:hover {margin-top:0px; } 
#nav li  a:active span,#nav li a:hover span {padding:10px 10px 6px 10px; margin-top:0px; display:block; color:#FFF;} 
#zishu01 a:link,#zishu01 a:visited {background-position: 0px -27px;} 
#zishu01 a:link span,#zishu01 a:visited span{background-position:right -27px;padding:10px 10px 6px 10px; margin-top:0; color:#FFF; font-weight:bold;} 
#zishu02 a,#zishu03 a,#zishu04 a,#zishu05 a,#zishu06 a,#zishu07 a,#zishu08 a,#zishu09 a,#zishu10 a,#zishu11 a{margin-top:3px;} 
#zishu02 a:active,#zishu02 a:hover {background-position: 0px -57px;} 
#zishu02 a:active span,#zishu02 a:hover span{background-position:right -57px;} 
#zishu03 a:active,#zishu03 a:hover {background-position: 0px -87px;} 
#zishu03 a:active span,#zishu03 a:hover span{background-position:right -87px;} 
#zishu04 a:active,#zishu04 a:hover {background-position: 0px -117px;} 
#zishu04 a:active span,#zishu04 a:hover span{background-position:right -117px;} 
#zishu05 a:active,#zishu05 a:hover {background-position: 0px -147px;} 
#zishu05 a:active span,#zishu05 a:hover span{background-position:right -147px;} 
#zishu06 a:active,#zishu06 a:hover {background-position: 0px -177px;} 
#zishu06 a:active span,#zishu06 a:hover span{background-position:right -177px;} 
#zishu07 a:active,#zishu07 a:hover {background-position: 0px -207px;} 
#zishu07 a:active span,#zishu07 a:hover span{background-position:right -207px;} 
#menu{ width:760px; height:26px; background:#FF9900;} 
#r1{border-top: 0px;border-bottom: 0px; border-left:3px solid #fff;border-right:3px solid #fff; height:1px; overflow:hidden;} 
#r2{border-top: 0px;border-bottom: 0px; border-left:2px solid #fff;border-right:2px solid #fff; height:1px; overflow:hidden;} 
#r3{border-top: 0px;border-bottom: 0px;    border-left:1px solid #fff;border-right:1px solid #fff; height:1px; overflow:hidden;} 
</style> 
<script language="javascript">
function check() {
 if(document.forms[0].username.value==""){
    alert("用户名不能为空");
    return false;
 }
 if(document.forms[0].password1.value==""){
    alert("密码不能为空");
    return false;
 }
 if(document.forms[0].password1.value != document.forms[0].password2.value){
    alert("2次密码不一样");
    return false;
 }
  if(document.forms[0].email.value==""){
    alert("邮箱不能为空");
    return false;
 }
}
</script>
</head>
<body>
<table width="780" height="110" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bodybg.jpg">
  <tr>
    <td width="100" height="94" rowspan="2"><img src="images/logo.gif" width="94" height="94" align="right"></td>

    <td width="577" height="65"><img src="images/lo.jpg" width="424" height="214"></td>
    <td width="103" rowspan="2"><img src="images/logo.gif" width="94" height="94"></td>
  </tr>
  <tr>
    <td height="15"></td>
  </tr>
  <tr>
  <td colspan="3"><br>    <table width="574" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
<div id="nav">
<ul>
<li id="zishu01"><a href="login.jsp" class="pt9"><span>返回首页</span></a></a></li>
<li id="zishu02"><a href="viewBid.jsp" class="pt9"><span>查看自己的竞标</span></a></li>
<li id="zishu03"><a href="viewKind.jsp" class="pt9"><span>浏览拍卖物品</span></a></li>
<li id="zishu04"><a href="mgrItem.jsp" class="pt9"><span>管理物品</span></a></a></li>
<li id="zishu05"><a href="mgrKind.jsp" class="pt9"><span>管理种类</span></a></a></li>
<li id="zishu06"><a href="viewFail.jsp" class="pt9"><span>浏览流拍物品</span></a></a></li>
<li id="zishu07"><a href="viewSuccess.jsp" class="pt9"><span>查看竞得的物品</span></a></li>
<li>
<div id="new">
<img src="images/new.gif" alt="新加栏目" /></div>
</li>
</ul>
</div>
    </tr>
  </table></td>
  </tr>
  <tr>
    <td height="5" colspan="3"><hr></td>
  </tr>
</table>
 
<TABLE width="780" align="center" CELLSPACING=0 background="images/bodybg.jpg">
</tr>
<tr>
<td>
【请填写注册资料进行注册】<br>
 

<form id="processLogin" onsubmit="return check()" action="processLogin.action" method="post">
<table class="wwFormTable">
<tr>
    <td class="tdLabel"><label for="processLogin_username" class="label">用户名:</label></td>
    <td
><input type="text" name="username"  id="processLogin_username"/>
</td>
</tr>
 
<tr>
    <td class="tdLabel"><label for="processLogin_password" class="label">    密码:</label></td>
    <td

><input type="password" name="password1" maxLength="20" size="22" id="processLogin_password"/>
</td>
</tr>
  <tr>
    <td class="tdLabel"><label for="processLogin_password" class="label">确认密码:</label></td>
    <td

><input type="password" name="password2" maxLength="20" size="22" id="processLogin_password"/>
</td>
</tr>
<tr>
    <td class="tdLabel"><label for="processLogin_password" class="label">    ">请E-mail to me</A>!<BR>
    建议您使用1024*768分辨率,IE5.0以上版本浏览本站!</p>
    </div>    </td>
  </tr>
  <tr height="5"><td background="images/bottom.jpg"></td></tr>
</table>
</body>
</html>