mysql action中的execute方法: public String execute() throws SQLException{ us=new user(); usDao=new userDao(); us=usDao.register(); return SUCCESS; }