当前位置: 代码迷 >> J2EE >> struts2 高手解答解决方法
  详细解决方案

struts2 高手解答解决方法

热度:7   发布时间:2016-04-22 01:56:37.0
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方法补完试试
  相关解决方案