I did a big work-over of this in 2.2 so I suspect your problem is fixed.
The Workbench, in 2.2, shows how to redirect to a local resource (HTML or
JSP, via RequestDispatcher) or to an external page.

----- Original Message -----
From: "Craig Miskell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 16, 2002 11:26 PM
Subject: [Tapestry-developer] RedirectException


> Right,
> Having gotten my listener method into "listeners", I now find that
> RedirectException doesn't work as advertised - I get an IOException from
> ResponseOutputStream.open (line 193) complaining that "Content type of
> response never set".  The same thing happens in the workbench tutorial
> when I try to use the redirect component.  I'm using Tapestry 2.1, and am
> holding off going to 2.2 until it's out of beta and the spindle plugin
> works with it (I need stability while I'm trying to learn this thing :-))
>
> I've checked the source code - ultimately it seems that redirectOut() in
> AbstractEngine doesn't do everything it has to (or that
> ResponseOutputStream is over enthusiastically demanding a contentType?),
> but I'm still a little unsure of my way around the interior of Tapestry so
> can't quite see what needs fixing
>
> Has this perhaps been fixed in 2.2 (in which case I can wait)?  If not, I
> can send the full stack trace if it's needed for debugging.
>
> Thanks,
>
> Craig Miskell
> Programmer, Black Albatross, Otago University, New Zealand
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS d- s+:- a-->? C++++(++)$ ULXH+++$>++++ P+>++++ L++$>++++$ E--- W+++$
> N+ K? w--- !O M-- V? PS--- PE Y t++ 5 X+++ R-- tv+ b+>+++ DI++++ D+ G+ e++
> h--- r+++ y+++
> ------END GEEK CODE BLOCK------
>
>
>
> -------------------------------------------------------
> Sponsored by: AMD - Your access to the experts on Hammer Technology!
> Open Source & Linux Developers, register now for the AMD Developer
> Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer



-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to