application可以得到,但是session肯定是得不到的。除非你在有request的时候将sessionid缓存了下来。
解决方案 »
- 用equals函数比较两字符串是否一样出现错误,望大神帮解决
- 字符串转换成16位的ascii码
- 免费支持jsp,php空间+数据库+tomcat+mysql+ftp 邀请码
- 开发web Service用CXF还是Axis2,哪个好
- 数据库连接池问题,涉及c3p0及proxool
- struts2 bean标签的问题
- 一下小的Hibernate应用问题?
- 大家看看我的jsp文件错在那里了,多谢了
- 有关标记库的问题有没有人可以帮我看看,bu yao zong bu li wo
- jsp页面中request.getParameter("userName")得到的数据问题,在线等
- Can not find a java.io.InputStream with the name [renderResult] in the invocatio
- fullcalendar
private SessionFactory sessionFactory ;//依赖注入
public void setSessionFactory(SessionFactory sessionFactory) {
this.sessionFactory = sessionFactory;
} private Session getSession(){
return sessionFactory.getCurrentSession();
}