I have a JSP page which is tabbed pane. Most of these panes submit a form and then forwards back to the same JSP. The consequence of this setup is that any given pane can have several points of entry.
I have many dropdowns and I need iterable things to populate them. I am having trouble being able to pick collections off the value stack because these collections must be stored at the session level. I know that the session is evil or something but this being the real world I have to use it. I cannot expose the collections in my Actions because so many of them lead to one place. So how do I use a <s:select list="???"> to use the session . . . or how do I put the collections on the value stack in such a way it mimics a session?
I believe the syntax to use OGNL to get values from the session is list="#session.mySessionAttributeName".
I'm not a fan of using the session to store data that is relevant throught the user's session. I wouldn't say its evil, I just find that its more suceptible to introducing hard to diagnose bugs when users start using unexpected browser controls. Be careful to try to clean up the session data as best you can to try to limit these problems.