Sorry if you've already received a reply to this, but the timing of my
apache list mail seems to be lagged...

Did you try getting Constants.CONTEXT_WORK_DIR from the context passed to
your generator via the object model (or if you extend from
ServletGenerator the context is available as a proteted member)?

Regards,

--mike

On Mon, 29 Oct 2001, Sam wrote:

> Hi list,
> I am writing a custom generator that uses database queries. I would like
> to store some temporary state in the servlet temp directory, but I can't
> seem to work out how to obtain what directory that is, or even obtain
> the ServletContext which could also tell me the same. Can anyone point
> me in the right direction?
>
> Many thanks in advance,
> Sam
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to