有个问题请大神帮助解决一下??
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>内容管理系统之用户注册</title>
<style type="text/css">
<!--
.style1{
color:#FF0000
font-weight:bold
}
-->
</style>
</head>
<body>
<!-- 该表单的提交要 通过regedit.action-->
<form name="user" action="regedit.action" method="post">
<table width="776" border="1">
<tr>
<td colspan="2">
<div align="center">
用户注册【<span class="style1">消息提示:${regedit.msg} </span>】
</div>
</td>
</tr>
<tr>
<td>
<div align="right">
用户名:
</div>
</td>
<td>
<input type="text" name="username" value="${user.username}"/>
</td>
</tr>
<tr>
<td>
<div align="right">
密码:
</div>
</td>
<td>
<input type="password" name="password" value="${user.password} "/>
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type="submit" name="submit" value="提交">
<input type="reset" name="Submit" value="重置"/>
</div>
</td>
</tr>
</table>
</form>
</body>
</html>
这是我的JSP页面,为注册页面
下面是RegeditAction.java
import
java.io.IOException;
import
java.sql.SQLException;
import java.util.Map;
import javax.annotation.Resource;
import
javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;