You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Alan <al...@engrm.com> on 2004/05/29 15:24:42 UTC
FOM and ServletContext.getRealPath()
I am trying to figure out the absolute path of the /WEB-INF
directory in my flowscript. I'd like to just use the getRealPath
method of the ServletContext. It is not exposed from FOM_Context
however. I found this in FOM_Context.java:
/* TODO: Vote on the inclusion of this method
public String jsFunction_getRealPath(String path) {
return context.getRealPath(path);
}
*/
On cocoon-users Joerg Heinicke pointed me towards this
discussion where Sylvain Wallez talks about voting on the
inclusion of this method.
http://marc.theaimsgroup.com/?t=107996583500001&r=1&w=4
I'd like to see this vote happen.
More importantly:
!-- How do I find the path of /WEB-INF in my Cocoon application --?
Cheers.
--
Alan / alan@engrm.com / http://engrm.com/
available for contract --> http://engrm.com/the-pitch.html