Ajax 和struts2 交互
struts2吧
全部回复
仅看楼主
level 1
一杯就醉1929
楼主
使用Ajax 向一个Action传入值,在Action中查询数据库获得一个值,怎样将这个值返回到原来的页面(即Ajax 中)
2013年07月29日 03点07分
1
level 1
心梦容4
response向回写就行了,或者用json插件,返回简单字符串直接用response写就行,方法返回null
2014年02月20日 06点02分
2
1