struts2 高手解答
struts2 下面这个url访问时为什么不能正常赋值
如果user.id 和 user.username只要其中一个就正常
set 方法全有且正确
http://localhost:8080/admin/admin/third_bind.action?bind=weibo&user.id=sdfdfdsfsdfdsfdsf&user.username=dsfsdf
[解决办法]
很有可能是你get方法没写上
把set 和 get方法补完试试
发布时间: 2012-04-02 19:58:59 作者: rapoo
struts2 高手解答
struts2 下面这个url访问时为什么不能正常赋值
如果user.id 和 user.username只要其中一个就正常
set 方法全有且正确
http://localhost:8080/admin/admin/third_bind.action?bind=weibo&user.id=sdfdfdsfsdfdsfdsf&user.username=dsfsdf
[解决办法]
很有可能是你get方法没写上
把set 和 get方法补完试试