怎样在Tomcat配置中设置session默认存活期
怎样在不重启Tomcat的情况下能够使重新编译过的类文件生效
在web.xml怎么配置?

解决方案 »

  1.   

    对了,好像能配置,好像有个叫什么reload的项吧。具体的查看tomcat文档。
    http://tomcat.apache.org/
      

  2.   

    <!-- ==================== Default Session Configuration ================= -->
      <!-- You can set the default session timeout (in minutes) for all newly   -->
      <!-- created sessions by modifying the value below.                       -->    <session-config>
            <session-timeout>30</session-timeout>
        </session-config>