Hi,
The best way of using information needed by the jsp files is to declare java object which will contain all kind of the information. for example user information[first name ,last name , his role, etc.] one java object and books information [book title, price, etc.. if its a online library application], so we'll have to java objects one for user information and other for books and similarly for other kind of info.
For your problem declare a java object which holds the vectors arrays what ever you need and create and initialize this object in the jsp you've mentioned and finally add this object to session, so that you can access it where ever you want.
Hope its clear to you.
Regards,
Rakesh
|