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:[EMAIL PROTECTED]] 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>