2011/11/26 Benson Margulies <bimargul...@gmail.com>:
> On Fri, Nov 25, 2011 at 4:36 PM, Konstantin Kolinko
> <knst.koli...@gmail.com> wrote:
>> 2011/11/26 Benson Margulies <bimargul...@gmail.com>:
>>>
>>> In a web application, I'd like to store a bit of data without
>>> configuring a database, or, indeed anything that has to be edited into
>>> an XML file or typed into a container-level gui.
>>
>> Define "store". What is proposed lifetime of that information?
>
> Forever. Sorry about the snide vendor remark. I have to think about
> whether redeployment is good enough. Is that ServletContext.TEMPDIR
> guaranteed to stick around across container reboots as long as the app
> isn't specifically redeployed?
>

If autodeployment is enabled just touching the war etc. (and since
7.0.23 just touching conf/context.xml) while Tomcat is running will
cause redeployment of a web application. The content of the
ServletContext.TEMPDIR directory will be cleared at that time. It
might be not what you want.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to