On Sat, Jun 03, 2000 at 03:51:29PM -0700, David Duddleston wrote:
>
> > > getResource is the most flexible but getRealPath should work
> > just fine in
> > > most cases.
> > >
> > > What do you think.
> >
> > getResource() works always (i.e. even if your servlet engine is
> > clustered and the actual file doesn't reside on the disk), getRealPath()
> > doesn't.
> >
> > Sure, tomcat doesn't make use of clustered enviornments very well, but
> > this may not be the case in the future.
> >
> > Just consider this when you evaluate the two.
> >
> > (I myself proposed to deprecate getRealPath() in the servlet expert
> > group but got rejected)
>
> I guess that settles it then! getResource() is just cooler anyways ;-)
>
> Is the idea still to get the cocoon.xconf in the /cocoon/WEB-INF/ folder,
> yet still have the site work relative to the root docBase for the Cocoon Web
> App?
I'm working on a proposal which will come soon. It will take care of stuff from the current
sitemap discussion, too.
Giacomo
--
PWR GmbH, Organisation & Entwicklung Tel: +41 (0)1 856 2202
Giacomo Pati, CTO/CEO Fax: +41 (0)1 856 2201
Hintereichenstrasse 7 Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen Web: http://www.pwr.ch
|