users@glassfish.java.net

Re: Create a directory at deploy time?

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Tue, 11 Aug 2009 18:47:23 -0700

Sean,

On 08/11/09 06:48, Comerford, Sean wrote:
> I want to create directory at deploy time of my web app.
>
> Is there something I can specify in sun-web.xml (an asant task maybe?)
> that would allow me to do this?

could this be done from within your app's
ServletContextListener#contextInitialized?

Jan
>
> --
> Sean Comerford, Software Engineer
> ESPN.com Site Architecture Group
> Office: 860.766.6454 Cell: 860.951.6973