struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: Struts 1.1 Bug? "PlugIn" Objects Not Serializable
Date Thu, 10 Jul 2003 15:47:07 GMT
--- "Hohlen, John C" <John.C.Hohlen@erac.com> wrote:
> > I'm encountering a "serialization" error due to Plug-In objects, in my
> case, the "org.apache.struts.validator.ValidatorPlugIn" not being
> serializable.  An array of plug-ins are stored in "application" scope in
> the "ActionServlet.initModulePlugIns()" method.  However, the "PlugIn"
> interface does not implement "serializable" nor do any of the
> implementing subclasses (ModuleConfigVerifier, TilesPlugin,
> ValidatorPlugIn).  Anybody have any ideas for a possible workaround?
> > JOHN
> > P.S. I checked Bugzilla database and did not see this error.  I will
> add if others concur with this.

Only objects stored in the session are required to be Serializable. 
Distributable apps require objects in the ServletContext to be
Serializable as well.

David


> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message