I'm aware of the chain result but I'd prefer to stick to the redirect result.
This hypothetical flash result could list the properties that should survive the redirect, so I think we would avoid the problem with the CGLIB proxy. I'll investigate writing such a result / interceptor pair. I suppose the chaining interceptor would be a good reference? Cheers, GB Brad A Cupit wrote: > >>> What would be great is if an interceptor would inject all >>> properties that are shared by the previous and the current >>> action (by name? by type?) in the current action, in a similar >>> fashion to HTTP parameter injection. > > If you use an ActionChainResult it will automatically do this, but > action chaining is not recommended in favor or redirect-after-post > (a.k.a. POST-redirect-GET). > > If such a feature does exist (or were to exist) and copy the properties > from Action1 to Action2 (with a redirect in between) it may actually > cause problems similar to Action chaining: like when your Action is > managed by Spring and Spring creates a CGLIB proxy and certain > properties that are specific to CGLIB are copied from Action1 to Action2 > thereby messing up the proxy. :-( > > Brad Cupit > Louisiana State University - UIS > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Is-there-such-a-thing-as-flash-in-S2--tp16697840p16754097.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]