Bugs item #589818, was opened at 2002-08-01 16:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=589818&group_id=4754

Category: Tapestry
Group: suggestion
Status: Open
Resolution: None
Priority: 5
Submitted By: Howard Lewis Ship (hship)
Assigned to: Howard Lewis Ship (hship)
Summary: Forward, not redirect, to local resource

Initial Comment:
When a listener method throws a RedirectException, 
Tapestry always sends a redirect back to the client.

This is fine for the rare case, whether the redirect is to 
an external resource (some arbitrary URL).

However, the intended use is to allow interoperation 
between Tapestry and a servlet or JSP.

A redirect means that a new request cycle will be 
invoked.  This means that the listener method cannot 
communicate with the resource in the traditional way, 
using HttpServletRequest.setAttribute(), but must 
instead store server-side state, or encode the 
information into the URL.

Tapestry should recognize local resources and use 
RequestDispatcher.forward() to make them render, must 
like a traditional servlet/JSP combination would.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=589818&group_id=4754


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to