cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <>
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.


> Stuart.
> -------------------------------------------------------------------------
> Stuart Roebuck                        
> Lead Developer                               Java, XML, MacOS X, XP, etc.
> ADOLOS                                   
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message