阅读背景:

在server.xml中替换Tomcat StandardContext

来源:互联网 

I'm running a Java application on Tomcat 6.0.24 that needs to be able to dynamically change the PATH for the JSESSIONID cookie at runtime. I spent a long time trying to manipulate the cookies in a filter, before deciding that the simplest approach might be to extend org.apache.catalina.core.StandardContext and override the getEncodedPath function instead.I'm running a Java application on Tomcat 6.0.24




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: