tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wentzel <>
Subject RE: Config file for a servlet
Date Thu, 18 Jan 2001 12:23:30 GMT
> I want that files created by my servlet after a certain time 
> be deleted.
>  now I am setting this time in my
> servlet(mysession.setMaxInactiveInterval(60)). I want that the user on
> the server the inactive time value in a config file writes and then my
> servlet on startup reads this value from the config file and set the
> inactive time accordingly. Am I right in doing so oder is 
> there a better
> solution?

You could always use a database table for storing the information
in a user config sort of way.

I kind of think that's where any user specific information should be stored

Michael Wentzel
Software Developer
<A HREF="">Software As We Think</A>
<A HREF="mailto://">Michael Wentzel</A>

View raw message