Skip to main content

Posts

Showing posts from September, 2011

default session timeout for Tomcat

If you're using Tomcat, it's 30 minutes as in the configuration.Location: $Tomcat/config/web.xml


   <!-- ==================== 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>

Eclipse exclude folders from search

The quick and dirty way: Right click on a folder, go to properties, and mark a folder as derived. Derived entities are excluded from searching by default. The safe way: Create a working set including only those entities you want searched and search only within that working set