Try 
cocoon.redirectTo("cocoon://foo")

cocoon.redirectTo("cocoon:/foo")

or 

cocoon.sendPage("foo")

When you use redirectTo without the cocoon protocol you are redirecting through 
the clients browser (at least, I think on the top of my head, so not 100% sure) 
which you don't want most of the time. 

AS

> 
> 
> Does anyone know how to get your base URI from within flowscript?
> 
> I am trying to do a cocoon.redirectTo("somePage"), but it seems to be 
> redirecting to the root directory of my webapp.  I figure I could do 
> something like:
> cocoon.redirectTo("/" + base_uri + "somePage");
> 
> Additionally,  the following line should work shouldn't it? 
> cocoon.redirectTo("http://www.google.com";);
> It gives me this error:
> org.xml.sax.SAXParseException: The element type "meta" must be 
> terminated by the matching end-tag "</meta>".
> Any ideas?
> 
> Thanks,
> Brian
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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