如何避免在第一次调用页面时出现;jsessionid=XXX?如果第一页是jsp,它就可以工作 [英] How to avoid ;jsessionid=XXX on the first call to a page? it works if first page is jsp

查看:29
本文介绍了如何避免在第一次调用页面时出现;jsessionid=XXX?如果第一页是jsp,它就可以工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,它使用带有 <iframe></iframe> 的欢迎页面 index.jsp,iframe 的内容是一个 jsf 页面.如果我访问 index.jsp,我会在第一次进入 firebug 时看到一个 cookie:

I have an application which uses the welcome-page index.jsp with an <iframe></iframe> the contents of the iframe is a jsf page. If I access index.jsp I see a cookie already on the first get in firebug:

Set-Cookie  JSESSIONID=C615DA89B6EF73F801973EA3DCD3B226; Path=/