shrimpywu wrote:
hi, what is the difference between specify time out and do not specify the
timeout value in the web.xml file

   <session-config>
        <session-timeout>30</session-timeout>
     </session-config>

According to the Servlet specification, if you don't specify this session timeout will be set to the container's default (which will be server dependent).

before, i do not specify this in the web.xml file
when the session has been timeout, i sometime got some exception

but after i did that..no exception any more..why???

Without even knowing what the exception was there's no way to guess. You'd probably be better off trying to diagnose why the exception occurs in the first place, rather than ask why it goes away.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to