Re: accssing object in JSP

2006-06-14 Thread Frank W. Zammetti
Oh, I agree... this is only the kind of solution I'd dream up with some crazy requirement, as there seems to be in the OP :) I can't imagine what design criteria would say you can't put an object in ANY scope! But, if that's the case, it's time for some creative/wacky (depending on your point

Re: accssing object in JSP

2006-06-14 Thread Scott Van Wart
Frank W. Zammetti wrote: One option might be a static HashTable in some class... key the table by some calculated ID representing the request.. for that, see the RequestHelpers.generateGUID() method in Java Web Parts: Scott Van Wart wrote: Sonu S wrote: I can not store bean in request or sess

Re: accssing object in JSP

2006-06-14 Thread Frank W. Zammetti
One option might be a static HashTable in some class... key the table by some calculated ID representing the request.. for that, see the RequestHelpers.generateGUID() method in Java Web Parts: http://javawebparts.sourceforge.net/javadocs/javawebparts/request/RequestHelpers.html (http://javaweb

Re: accssing object in JSP

2006-06-14 Thread Scott Van Wart
Sonu S wrote: I can not store bean in request or session or any scope (design issues...) If you can't store the bean in any scope, then you really have no way of getting anything from the action to the jsp... I see no solution to your problem with this constraint. - Scott --

accssing object in JSP

2006-06-14 Thread Sonu S
Hi 2 all I am using struts in my application. In my application i am getting array of objects of MyClass. This Class has methods like getName(), getId(),. I am getting this array of object in Action class. I want to use these array in JSP. For this i am doing in Action Class i am doing.