>> This hypothetical flash result could list the properties
>> that should survive the redirect
>> <snip/>
>> I'll investigate writing such a result / interceptor pair.  

Wouldn't that be the same as the ServletActionRedirectResult, where
param values can be ognl expressions? (assuming a version of struts 2
where bug WW-2170 is fixed).

Now, if this result/interceptor pair instead reads annotations on
properties in the action, or, if it stores the results in the session
(and then removed them on the next request) rather than as parameters in
the url, then it definitely is different from
ServletActionRedirectResult.

Having said that, I question using the session, since
redirect-after-post was designed to help alleviate back and refresh
button problems. If we store information in the session for the
redirect, then the first GET will find that information, but subsequent
GETs (perhaps the result of pressing back or refresh) will not find that
information, so the GET will have been inconsistent.

I guess this just pertains to flash scope in general though, and not any
particular implementation.

Brad Cupit
Louisiana State University - UIS

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

Reply via email to