On Thu, 10 Jul 2003, David Graham wrote:
> Date: Thu, 10 Jul 2003 09:24:15 -0700 (PDT) > From: David Graham <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Struts 1.1 Bug? "PlugIn" Objects Not Serializable > > --- "Hohlen, John C" <[EMAIL PROTECTED]> 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. > David Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]