在哪里可以找到有关为 Tomcat 创建自定义 session 管理器的文档?
例如:
如何在 tomcats server.xml 中配置我的 session 管理器?
必须实现什么接口(interface)才能使用我的 session 管理器?
最佳答案
问:如何在 tomcats server.xml 中配置我的 session 管理器?
答: <Manager...
进去 <Context...
.来自 Tomcat 文档:
A Manager element MAY be nested inside a Context component. If it is not included, a default Manager configuration will be created automatically, which is sufficient for most requirements, — see Standard Manager Implementation below for the details of this configuration.
问:必须实现什么接口(interface)才能使用我的 session 管理器?
答: org.apache.catalina.Manager
关于tomcat - tomcat中的自定义 session 管理器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8683493/