mine is working if i use scriptlet to get attribute value from session like this
and i am accessing this messages variable in forEach. it is working fine now. but i am not sure why i get that illegastateexception message when i try to use sessionScope! Is there a way to replace the above scriptlet with EL [ June 08, 2007: Message edited by: Bear Bibeault ]
I agree with this because I faced similar problem because there was session=false directive declared in common page used by my page. It gave me headache over hours. Then I awared of the stack trace telling me no session in this page. When I enable it session=true and everything works well.
It might work well if you use like this. But when using sessionScope, it gonna give you session not found error.