cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Larson" <Tdlar...@ci.canton.oh.us>
Subject Re: [BUG?] cocoon 2.0.4 map:redirect-to cocoon protocol
Date Tue, 07 Jan 2003 18:14:46 GMT
Thanks.  I had seen some example code elsewhere on the web
that misled me to think this would work.

Is <map:redirect-to resource="sample_html"/> the only way to
redirect internally, or is there a way I can internally redirect to a
normal cocoon:/ uri?

Tim

>>> joerg.heinicke@gmx.de 01/07/03 12:22PM >>>
Hello Tim,

map:redirect-to *is* a client side redirect and no bug.

http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html 

Regards,

Joerg

Timothy Larson wrote:
> In Cocoon-2.0.4 is this redirect supposed to work?
> 
>   <map:match pattern="name1.xml">
>     <map:redirect-to uri="cocoon:/name2.xml"/>
>   </map:match>
> 
>   <map:match pattern="name2.xml">
>     <map:generate src="sample.xml"/>
>     <map:serialize type="xml"/>
>   </map:match>
> 
> I get an error from IE that seems to indicate that a
> redirect was sent to the client instead of happening
> internal to cocoon.
> 
> Tim


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



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


Mime
View raw message