cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zamek <za...@vili.pmmf.hu>
Subject execute xsp and then redirect
Date Mon, 01 Mar 2004 17:27:55 GMT
Hello All,

I have a pattern like:
     <map:match pattern="list">
        <map:generate type="directory" src=".">
          <map:parameter name="depth" value="20"/>
          <map:parameter name="exclude" value="\.xmap$"/>
        </map:generate>
        <map:transform src="dir2html.xsl"/>
        <map:serialize/>
    </map:match>

and if I have a do-delete-** pattern I have to delete the parameter file, 
and then need to redirect to list.

      <map:match pattern="do-delete-**">
        <map:generate src="java/delete.xsp" type="serverpages">
          <map:parameter name="file" value="{1}"/>
        </map:generate>
        <map:redirect-to uri="list"/>
      </map:match>

Redirect cannot works:
Redirection limit for this URL exceeded. Unable to load the requested page. 
This may be caused by cookies that are blocked.

How can I combine this?
-- 
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