JS获取action里session.put("sendMeg", message) 设置的值
var sessionUser ="<%=session.getAttribute("sgxglUser")%>";
注意:js中超链接语句:window.location.href;不少童靴会写成window.document.location.href或者document.location.href
document这里一无是处!
![发火](http://static.blog.csdn.net/xheditor/xheditor_emot/default/angry.gif)
JS获取action里request.setAttribute("sendMeg", message) 设置的值3 方法请参考:
http://www.iteye.com/problems/54468