Can two ArrayLists be used on a single JSP?

Hello All,

I am facing a problem in displaying data on JSP.

The scenario is as follows:

I m retrieving some data to display from one DTO and some data from another DTO and adding them to an ArrayList. now the main problem arise whn I have to return two arraylists on a single JSP.

How I can use two ArrayLists for two DTOs to display data on a JSP.

I hope u got my problem.

Regards

Simmy K.

[439 byte] By [simmyka] at [2007-10-2 14:32:47]
# 1

you can use as many arrays as memory will allow.

how to display them sensibly is another matter.

do they contain two sets of the same kind of data, or different things? do you intend for them to populate different drop downs, or just one table? you can do all those things. jsp doesn't limit you.

%

duffymoa at 2007-7-13 12:55:53 > top of Java-index,Other Topics,Patterns & OO Design...