首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

pluto的session设立,要application适用session,需要修改server配置

2012-12-21 
pluto的session设置,要application适用session,需要修改server配置为了能够在应用(application)范围使用Pl

pluto的session设置,要application适用session,需要修改server配置

为了能够在应用(application)范围使用Pluto的PortletSession 属性,需要修改<CATALINA_HOME>/conf/server.xml 中默认8080端口的Connector元素,增加属性:emptySessionPath="true",但是如果设为true,所有path的session cookie将设为/。这对portlet规范的实现非常有用,但是在服务器需要同时提供多个被访问的应用时,会对性能造成很大的影响。如果没有设置,该值为false。另外pluto-current-bundle里面已经做了设置,但是通过Maven构建时并没有设置,需要手动设置。?

?

来源:?http://www.iteye.com/topic/212518

热点排行