把<html:text properties="user.username"/>  
  <html:text properties="user.password"/>
改为
<html:text properties="username"/>  
<html:text properties="password"/>
试试
actionForm必须是
public class User extends ActionForm{
private String username;
private String password;
加入相应的getter setter方法
}