transferring arraylist objects from one jsp to another jsp

transferring arraylist objects from one jsp to another jsp using request implicit object
[95 byte] By [bronze-starDukes] at [2007-11-26 12:15:08]
# 1

make use session / request / application.setAttribute(String key_name,(Object)Arraylist<Object> Obj) while saving the ArrayList object in the JSP.

If you are Forwarding the Request in the following senario use request.setAttrbute else make use of session or Application.setAttribute depending on your criteria.

and in the second jsp use....

ArrayList<Object> ar = (ArrayList<Object>) request / session / application.getAttribute(String Key_Name);

to get back the result.

silverstar at 2007-7-7 14:18:39 > top of Java-index,Archived Forums,Socket Programming...