cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zamek <za...@vili.pmmf.hu>
Subject getting mount point
Date Mon, 01 Mar 2004 11:59:21 GMT
Hi All,

I use my cocoon app by my home directory like 
http://server/~zamek/app/params...

And I would like to get mount point in my xsp page:

     <map:match pattern="do-delete-**">
        <map:generate src="java/delete.xsp" type="serverpages">
          <map:parameter name="file" value="{1}"/>
          <map:parameter name="rp" value="{realpath:/}"/>
        </map:generate>
        <map:serialize/>
     </map:match>

Unfortunately realpath doesn't get right path, because it point to cocoon's 
entry in my system.

And I try to pass cocoon:/, but I can get an exception. Are there a 
predefined "cocoon-protocol" variable in xsp?
So how can I get mount point?

-- 
thx,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


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


Mime
View raw message