You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Horacio Natyural <ho...@gmail.com> on 2011/07/07 09:54:08 UTC
Wicket Disk Page Store Location
Hi,
where does Wicket store its disk page store?
is it in java.io.tmpdir?
if i use glassfish, where will it be placed?
i can't seem to locate it?
this is where wicket stores serialized pages right?
help!
Thanks
Horacio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket Disk Page Store Location
Posted by Martin Grigorov <mg...@apache.org>.
fileStoreFolder =
(File)((WebApplication)Application.get()).getServletContext()
.getAttribute("javax.servlet.context.tempdir");
if (fileStoreFolder != null)
{
return fileStoreFolder;
}
try
{
fileStoreFolder = File.createTempFile("file-prefix", null).getParentFile();
}
On Thu, Jul 7, 2011 at 9:54 AM, Horacio Natyural
<ho...@gmail.com> wrote:
> Hi,
>
> where does Wicket store its disk page store?
> is it in java.io.tmpdir?
>
> if i use glassfish, where will it be placed?
> i can't seem to locate it?
>
> this is where wicket stores serialized pages right?
>
>
> help!
>
> Thanks
> Horacio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org