在项目A中,登录时,将session放到context中: ServletContext ContextA = session.getServletContext(); ServletContext 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交