I'm studying the org.apache.struts2.showcase.ajax.AjaxTestAction class
and found that it is serializable.

Why is this action class serializable?

What is the special things we have with a serialized action class?


On 4/26/07, Laurie Harper <[EMAIL PROTECTED]> wrote:
wolverine my wrote:
> Hi!
>
> How to decide if an Action class should be serializable or not?
>
> Thank you!

Action classes are instantiated per-request so, unless you're doing
anything special with the action instance in your own code, they don't
need to be serializable.

L.


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



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

Reply via email to