解决方案 »
- tomcat6.0发布遇到的错误。
- struts2.0调用action的方法,既然说不存在-------急
- spring jpa 连接两个数据库,oracle informix
- 有点UML基础,但对UML概念认识很模糊,谁推荐一本UML的书或传授点看书的经验?
- 谁帮忙找下错~
- 下拉菜单问题
- 100分求解eclipse+jboss开发cmp的难题!
- dispatch问题
- 如何关闭jb7中的历史记录功能
- 怎么使用JavaScript给textarea重复赋值,但是每次的赋值不覆盖上次的值
- org.hibernate.exception.ConstraintViolationException: Could not execute JDBC bat
- (nutch)ant为什么编译不了build.xml文件
例如
前台:upload_url: "/webgl/user/user_upload.action&sid=${pageContext.session.id }"
后台过滤器 :
HttpServletRequest req = (HttpServletRequest) request;
HttpSession session = null;
session = req.getSession(false);
String sid = req.getParameter("sid"); //后台添加的代码
if(sid!=null)//后台添加的代码
session = sessionMap.getSession(session.getId());//后台添加的代码