>> 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]

Reply via email to