struts-user mailing list archives

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

MyObject o = new MyObject();
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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message