首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

struts2 高手解答解决方法

2012-04-02 
struts2 高手解答struts2 下面这个url访问时为什么不能正常赋值如果user.id 和 user.username只要其中一个

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方法补完试试

热点排行