[JSP] Is it possible to put a List into a session and use on a different page?
From: Steven (santa_at_emailme.nu)
Date: 03/30/05
- Next message: Hikikomori: "Re: Is it possible to put a List into a session and use on a different page?"
- Previous message: Thomas Weidenfeller: "Re: Blackdown : wrong value in java.vm.version property ?"
- Next in thread: Hikikomori: "Re: Is it possible to put a List into a session and use on a different page?"
- Reply: Hikikomori: "Re: Is it possible to put a List into a session and use on a different page?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 11:18:07 +0200
Hi everyone,
I've got a simple list like :
----
List names = new ArrayList();
names.add("Bill");
names.add("Mark");
names.add("John");
----
And I would like to put this list into a session :
session.setAttribute( "listnames", names);
And then on a different page loop through the list. Is this possible?
Thanks for any help!
--
Posted by news://news.nb.nu
- Next message: Hikikomori: "Re: Is it possible to put a List into a session and use on a different page?"
- Previous message: Thomas Weidenfeller: "Re: Blackdown : wrong value in java.vm.version property ?"
- Next in thread: Hikikomori: "Re: Is it possible to put a List into a session and use on a different page?"
- Reply: Hikikomori: "Re: Is it possible to put a List into a session and use on a different page?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]