What version of 1.1 are you using? The ActionFormBeans class was deprecated in favor of a collection of FormBeanConfig objects inside the ModuleConfig. Both FormBeanConfig and ModuleConfigImpl are serializable.

David



From: Vic Cekvenich <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: forms tag ? serialaizable
Date: Mon, 24 Mar 2003 17:02:44 -0500

AFAIK we can't specify the "type of class" that the form bean is in, in struts config. (not formbean, but <form-beans >)

For example, <form-beans type= "myserilazableformbeanbase" >

This would allow me to implement session fail over of session beans.

AFAIK, this was depercated in 1.1.
Yes, this can be miss-used but....

So can someone educate me that this works, else it's a feature request.

Easy way to test is to add this to resin, for example:
  <session-config>
    <file-store>WEB-INF/session</file-store>
  </session-config>

This give me exception that formbean is not seriazable (concreate class is, ie <form-bean name="userBean" type="org.apache.scaffoldingLib.beans.UserBean"/> is, but the base class is not. This is true of Collections as well)

tia,
Vic



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



_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



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



Reply via email to