Action从jsp页面取值的<input id="user.pid",name="user.pid" value="huang">

来源:互联网 发布:java语言培训机构 编辑:程序博客网 时间:2024/05/22 06:44

Action从jsp页面取值的<input id="user.pid",name="user.pid" value="huang">


注意传给Action的是string的Pid,对于pojo的user里面的属性pid是Int,有了get set方法,

而应该在userDTO里面写一个PID是string的 然后get  set

原创粉丝点击