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 18:34:25 GMT
--- "Craig R. McClanahan" <craigmcc@apache.org> wrote:
> 
> 
> On Thu, 10 Jul 2003, David Graham wrote:
> 
> > Date: Thu, 10 Jul 2003 09:24:15 -0700 (PDT)
> > From: David Graham <grahamdavid1980@yahoo.com>
> > Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>,
> >      dgraham@apache.org
> > To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> > Subject: RE: Struts 1.1 Bug? "PlugIn" Objects Not Serializable
> >
> > --- "Hohlen, John C" <John.C.Hohlen@erac.com> wrote:
> > > That's exactly my problem.  I have a distributable application using
> > > Struts 1.1.  Struts is storing an object in the ServletContext that
> is
> > > not serializable.  What am I supposed to do, remove it?  That would
> > > probably cause Struts not to function properly.
> >
> > Open an enhancement request and we'll look at what it would take to
> make
> > the standard plugins serializable.  I don't think the interface should
> be
> > serializable because there might be plugins that use databases or
> other
> > non-serializable objects.
> >
> 
> My personal opinion is that app servers which require ServletContext
> attributes to be Serializable are broken, because the servlet spec only
> requires this for *session* attributes.  That being said, we probably
> need
> to address this reality, but it is still irritating.

My understanding was that distributable apps required ServletContext
attributes to be Serializable as well.  Is that incorrect?  I'll go look
at the spec again...

David

> Craig


__________________________________
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