struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Honza Spurný <spu...@master.cz>
Subject Re: request.setAttribute
Date Fri, 28 Nov 2003 11:50:34 GMT
Corrected version:

MyObject o = new MyObject();
o.setObjectName("name");
request.setAttribute("myObejct", o);

MyObject o2 = (MyObject)request.getAttribute("myObject");

if (o2 == null) System.out.println("NULL");
else System.out.println(o.getObjectName());


The problem still occures. I'm not able to download from request such
MyObject as I have stored in. Can it be caused by the huge size of object?

Sporak


---------------------------------------------------------------------
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