Have you read other posts You are storing and retrieving by different names.
/Ashwani >-----Original Message----- >From: Honza Spurn� [mailto:[EMAIL PROTECTED] >Sent: Friday, November 28, 2003 5:15 PM >To: Struts Users Mailing List >Subject: Re: request.setAttribute > > >Shyam Krishnan wrote: >> Why you are putting it into the request yaar?? >> U can put it into the session.. > >I don't want it in session, I need this object just for a request... > >> >> Regards, >> Shyam >> >> >> >> >> Honza Spurn� <[EMAIL PROTECTED]> >> 11/28/03 05:10 PM >> Please respond to >> "Struts Users Mailing List" <[EMAIL PROTECTED]> >> >> >> To >> <[EMAIL PROTECTED]> >> cc >> >> Subject >> request.setAttribute >> >> >> >> >> >> >> Hi there, >> >> I have small problem with adding some objects to the request. I need >> to store quite huge object into request variable >> >> MyObject o = new MyObject(); >> o.setObjectName("name"); >> request.setAttribute("myObejct", o); >> >> These are correct steps how to make it, aren't they? But the object >> MyObject >> is really huge. Is it possible, tak the huge objects are not store >> into request variable? Because when I store there object that surely >> exists, and >> then I call >> >> MyObject o2 = (MyObject)request.getAttribute("o"); >> if (o2 == null) System.out.println("NULL"); >> else System.out.println(o.getObjectName()); >> >> I always get NULL on output. >> >> Can be there problem with the size of such object? >> >> Thanks >> Sporak >> >> >> --------------------------------------------------------------------- >> 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] > ____________________________________________________ This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

