cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z.Z." <>
Subject Re: xsp upload nightmare
Date Mon, 08 Mar 2004 20:51:53 GMT
Hello, wrote:
> can i add your modification in a new wiki page ?
yes absolutely
> can you describe what else is this code make ?
I need to pass cocoon:/ to upload action. I am using cocoon on Linux, and my 
app is in my home directory. 
So link is: http://server:8080/cocoon/~user/app/
Originally upload action cannot handle this directory entry, because 
relative reference is relative to cocoon_install directory, and absolute 
reference is "not known" only ~user is signing  users's home.
It need to pass cocoon:/ to upload action, which is getting by

Source inputSource = resolver.resolveURI("");
String sysId = inputSource.getURI();

from org.apache.excalibur.source.Source.

I attached source of to this letter.

Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694

View raw message