<div> <label>用户账号</label> <input type="text" name="main.user" value="#(main.user??)" />#(userMsg) </div> <div> <label>用户密码</label> <input type="text" name="main.password" value="#(main.password??)" />#(passwordMsg) </div> <div> <label>用户名称</label> <input type="text" name="main.username" value="#(main.username??)" />#(usernameMsg) </div> <div> <label>账号状态</label> <input type="text" name="main.zt" value="#(main.zt??)" />#(ztMsg) </div> public void useradd() { } @Before(UserValidator.class) public void save() { getBean(Xtsz_User.class).save(); redirect("/main"); } JFinal action report -------- ------------------------------ Url : POST /main/save Controller : com.demo.user.UserController.(UserController.java:1) Method : save Interceptor : com.demo.user.UserInterceptor.(UserInterceptor.java:1) com.demo.user.UserValidator.(UserValidator.java:1) Parameter : main.username=超级管理员 main.id= main.user=chh main.zt=正常 main.password=654321 main.jgbm=2 求指教,为什么我的值没有新增进去呢?
项目:JFinal