当前位置:
代码迷
>>
J2EE
>> SSH2 中ActionContext.getContext().getSession()的有关问题
详细解决方案
SSH2 中ActionContext.getContext().getSession()的有关问题
热度:
411
发布时间:
2016-04-22 01:40:42.0
SSH2 中ActionContext.getContext().getSession()的问题
在linux系统中运行SSH2项目,一台机做服务器,在另外一台机上运行,凡是有ActionContext.getContext().getSession()的Action方法中,其对应的页面运行不了,哪为高手能邦邦忙!谢谢咯
------解决方案--------------------
有可能这种原因:
A、B机浏览器不同,你在向后台传的username时,A浏览器传值正常,B浏览器传值不成功。
其它不知道什么原因了。看你代码没什么问题。
或者你用setAttrebute代替put试试呢。
查看全文
相关解决方案
ASP上Set GetSession("conn")=server.CreateObject("adodb.connection")
hibernate和struts2做的web项目,getSession().delete删不掉数据,这是什么原因,该怎么处理
struts2关于ActionContext.getContext.get("request")有关问题
hibernagte的session 跟 getRequest().getSession()的是一样的吗
request.getSession().getAttribute("requestPath")为什么得到的是NULL,其它的方法中可以得到URL解决思路
ganymed-ssh2-build210.jar包的使用 向Linux请求多个命令
想用flex4 + java(ssh2)做个毕业设计的项目,该怎么解决
关于session.invalidate()、request.getSession(boolean)的1点实验
request.getSession(false)和request.getSession(true)差别
Action 中获取 session的步骤ActionContext.getContext().getSession() 是一个Map对象
SSH2.5struts2跟spring整合 oa 3
【转】request.getSession(false)与request.getSession(true)差异
HttpSession session = request.getSession();疑点
SQLQuery query = getsession.createSQLQuery()查询字段有关问题
SSH2 服务器的保留值,不清空的有关问题
request.getSession().setAttribute()是什么意义
ActionContext、ValueStack、Stack Context 间的关系解决方案
为什么用了sturts2的validation后,getSession().clear()方法失效,该如何解决
getRequest().setAttribute和getRequest().getsession.setAttribute 有区别吗解决办法
request.getSession().setAttribute 和 request.setAttribute 的区别?解决办法
为什么Session.invalidate()后request.getSession(true)又得到一个session的id不同,但刷新以后session的id就相同了,该如何处理
request.getSession().getAttribute取不到值
struts2 actionContext 的几个小问题请问
ssh2 项目 Tomcat 装死
request.getSession(false) 唤起的疑问
请问request.getSession().getServletContext().getRealPath("/");这句话获取的是服务器路径吗
request.getsession(false) 偶然获取不到session的原因
ssh2 中,不同部门用户使用自个儿配置的spring配置文件
ssh2 怎么判断保存是否成功
SSH2 中ActionContext.getContext().getSession()的有关问题