title: Struts 2:How to load values to a <s:select >from a list in session
body: <p>I am new to struts. I want to load a list of data in the session to a select tag <code>&lt;s:select&gt;</code> which equals to pure html <code>&lt;select&gt;&lt;option&gt;values..&lt;/option&gt;&lt;/select&gt;</code> . The data might be loaded from database and put them to a list. I looked for Internet. But it all didn't work for me. Please any one let me know how to do this or provide any link with working example.(  including the action class,struts.xml and jsp page. most needed codes are enough.)</p>