Custom session manager in tomcat

后端 未结 1 883
野的像风
野的像风 2021-01-05 22:11

Where can I find documentation on creating a custom session manager for Tomcat?

For example:

How do I configure my session manager in tomcats server.xml ?

相关标签:
1条回答
  • 2021-01-05 22:42

    Q: How do I configure my session manager in tomcats server.xml ?
    A: <Manager... goes inside <Context.... From Tomcat docs:

    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.

    Q: What interface must be implemented to use my session manager ?
    A: org.apache.catalina.Manager

    0 讨论(0)
提交回复
热议问题