On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote:
> As far as I know the sequence is:
> 
> Default Context
> App Context
> /conf/web.xml
> /WEB-INF/web.xml
> 
> So your /WEB-INF/web.xml has the final say, provided that overrides to the previous 
>settings have been allowed.

Actually, we found that this is not correct. The "Default Session
Configuration" section is only definable in the /conf/web.xml. We tried
putting it into the /WEB_INF/web.xml and it did nothing to change the
session timeout.

I did not try removing the session timeout parameter, however. Anyway,
at least for the session parameters, the /conf/web.xml has the final
say.

Thanks for the help,

Ben Ricker
Wellinx.com

 
> -----Original Message-----
> From: Ben Ricker [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 25. November 2002 23:24
> To: Tomcat Users List
> Subject: Does web.xml inherit?
> 
> 
> I am running Tomcat 4.0.6 on Solaris. We are getting complaints of
> session timeouts from users. Looking around I found the "Default Session
> Configuration" section of the web.xml in the /conf directory. The app is
> in its own context defined by its own web.xml.
> 
> So my question is: does the web.xml inherit the values from the web.xml
> in the /conf directory (let us call it the "main" web.xml)? Or are the
> default values listed in the main web.xml the default values for ALL
> other contexts if they are not explicitely changed in the other
> contexts?
> 
> Thanks,
> 
> Ben Ricker
> Wellinx.com
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 



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

Reply via email to