cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: [C2] ServletRequest.getRealPath() broken in recent CVS
Date Sun, 01 Apr 2001 19:01:45 GMT
Stuart Roebuck wrote:
> 
> dims,
> 
> I've just been using the latest CVS of Cocoon and notice that some of my
> XSP code is broken related to some of the recent additions to
> cocoon.environment.
> 
> The new environment.Request does not provide a getRealPath(String path)
> method.  Is this intentional?

Can you explain why you really need this method? It is a dangerous
method because you shouldn't deal with absolut path names because of the
possibility of mounting sub sitemap at a different context. If you
really need such a functionality the environment should take care of
this as it will do with the getRequestUri method.

Giacomo

> 
> Stuart.
> 
> -------------------------------------------------------------------------
> Stuart Roebuck                                  stuart.roebuck@adolos.com
> Lead Developer                               Java, XML, MacOS X, XP, etc.
> ADOLOS                                             http://www.adolos.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message