File tempdir = (File)
config.getServletContext().getAttribute("javax.servlet.context.tempdir")


2009/11/27 jhonig <[email protected]>

> Dear Heiko,
>
> > According to the Servlet spec each webapp has got a private temporary
> > directory. I cannot remember exactly how to get this, maybe
> > ServletContext.getTmpDir(). Please take a look at the spec.
>
> I started reading the spec, but didn't find it yet.  ServletContext
> doesn't
> have any obvious way to get to a temporary dir, but I assumed I could
> create one.  Would probably need to tweak a security policy to be able
> to write to it, but that would be the next step.
>
> Job H.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>


-- 
Heiko Seeberger

My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to