cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: WAR file
Date Sat, 03 Jun 2000 23:10:47 GMT
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 +0 on this.

Whatever you guys like more...

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------

Mime
View raw message