Thanks Pat, but any idea how we get that to HiveMind in some neat way?

John

----- Original Message ----- 
From: "Patrick Casey" <[EMAIL PROTECTED]>
To: "'Tapestry users'" <[email protected]>
Sent: Friday, December 02, 2005 11:13 PM
Subject: RE: initializing services on startup


> 
> If you're looking to find the name of the context directory, this
> trick usually works:
> 
> Step 1: Override ApplicationServlet
> Step 2: In your init method do:
> 
> 
> public void init(ServletConfig config) throws ServletException {
> super.init(config);
> String temp = config.getServletContext().getRealPath("");
> fRootDirectory = temp;
> Log.debug("Context directory = " + fRootDirectory);
> 
> }
> 



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

Reply via email to