Good idea, or I suppose I could put something in web.xml and use an
initialisation servlet to store it in the context.

Mark

----- Original Message -----
From: "Randy Layman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 02, 2001 6:47 PM
Subject: RE: Saving files from Tomcat


>
> The way that we deal with this is have a system configuration
> parameter to indicate the path.  The system configuration is either stored
> in the database or some properties file in the classpath, then when the
app
> moves (or we deploy to a different server) we just edit the configuration.
>
> Randy
>
> > -----Original Message-----
> > From: Mark Muffett [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 02, 2001 1:13 PM
> > To: [EMAIL PROTECTED]
> > Subject: Saving files from Tomcat
> >
> >
> > I have to save some data in files from a servlet (can't get
> > blobs to work
> > with JDBC) - is there any good (portable) way to express the
> > directory path?
> > I'm just worried that an absolute path is going to cause
> > problems if the
> > site is moved.
> >
> > Thanks for any help
> >
> > Mark Muffett
> >
>

Reply via email to