You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by days <da...@lycos.com> on 2002/04/08 03:39:24 UTC

Cannot retrieve session

Hi, I'm having trouble retrieving an arraylist from the session. The codes appear as follow:

Iterator iterator = announcement.iterator();
while( i.hasNext()) {
out.println((String) i.next());
}


regards


See Dave Matthews Band live or win a signed guitar
http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Cannot retrieve session

Posted by Alex Paransky <ap...@standardset.com>.
I used Iterator a few times and it seems to work ok.

-AP_

-AP_
http://www.alexparansky.com
Java/J2EE Architect/Consultant
http://www.myprofiles.com/member/view.do?profileId=127

-----Original Message-----
From: days [mailto:days_81@lycos.com]
Sent: Sunday, April 07, 2002 6:39 PM
To: Struts Users Mailing List
Subject: Cannot retrieve session


Hi, I'm having trouble retrieving an arraylist from the session. The codes
appear as follow:

Iterator iterator = announcement.iterator();
while( i.hasNext()) {
out.println((String) i.next());
}


regards


See Dave Matthews Band live or win a signed guitar
http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201
/splash.asp

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>