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

>>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 
For additional commands, email: [EMAIL PROTECTED] 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to