JS获取action里session.put("sendMeg", message) 设置的值
var sessionUser ="<%=session.getAttribute("sgxglUser")%>";
注意:js中超链接语句:window.location.href;不少童靴会写成window.document.location.href或者document.location.href
document这里一无是处!
JS获取action里request.setAttribute("sendMeg", message) 设置的值3 方法请参考:
http://www.iteye.com/problems/54468
本文深入解析了如何使用JavaScript从Action中获取并操作session和request中的sendMeg属性,包括设置、获取及超链接的正确用法。
752

被折叠的 条评论
为什么被折叠?



