关于修改的问题,帮我看看!!            Daopublic boolean updata(UpdateForm f) {
Connection conn = null;
PreparedStatement stmt = null;
ResultSet rs = null;
String sql = "update login3 set user=?,passwd1=?, where id=?";
try {
conn = ds.getConnection();
stmt = conn.prepareStatement(sql);
stmt.setString(1, f.getName());
stmt.setString(2, f.getPasswd1());
stmt.setString(3, f.getPasswd2());
stmt.setInt(4,f.getId());
f.getId();
stmt.executeUpdate();
return true;
} catch (Exception err) {
err.printStackTrace();
return false;
} finally {
if (rs != null) {
try {
rs.close();
} catch (Exception err) {
}
}
if (stmt != null) {
try {
stmt.close();
} catch (Exception err) {
}
}
if (conn != null) {
try {
conn.close();
} catch (Exception err) {
}
}
} }                          Actionpublic class UpdateAction extends Action {

public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
UpdateForm up = (UpdateForm) form;
zhuce zhu = new zhuce(getDataSource(request, "database"));
zhuce1 zh=new zhuce1();
DeleteForm f = null;
zh=zhu.findid(f);
up.setId(zh.getId());
up.setName(zh.getName());
up.setPasswd1(zh.getPasswd1());
up.setPasswd2(zh.getPasswd2());
if(true){
zhu.updata(up);
return mapping.findForward("chenggong");
}
else{
 return mapping.findForward("shibai");
}

}                       jsp
              
<%@ page language="java" contentType="text/html; charset=gb2312"
    pageEncoding="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"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<head>
<html:base /> <title>zhuce.jsp</title> <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
</head>
<body>
     <html:form action="/update" mothod="post">
 <html:hidden property="id"/>
 user: <input type="text" name="name"><br>
 user: <input type="text" name="passwd1"><br>
 user: <input type="text" name="passwd2"><br>
 <input type="submit" value="提交" />
  </html:form> <br>
  </body></body>
</html>
为什么,我提交后不能修改