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

MyClass[] arrObj = SomeClass.getArrayObjects();

and creating JavaBean object like

MyBean myBean = (MyBean) form // Action Form

and setting values for Bean......

myBean.setMyObj(arrObj);

In MyBean i have written

MyClass[] myObj; (written getter and setter methods)

I want to access this array of objects in jsp....what should i do so i could
write in jsp like

arrBoj.getName() or arrObject.getId().......



I can not store bean in request or session or any scope (design issues...)


Please help me..give me some advice.....




Thanks for ur time and consideration...

With regards

Reply via email to