what is the syntax for retrieving information in the action class by calling methods of ListBean, Java
<p>My internet project retrieves some information from the databse, such as reference tables, at the start of the server.  The way in which these information is used later on when users get to specific page is by using the following snytax to building a list in the JSP.</p>

<pre><code>&lt;html:optionsCollection name="selectionLists"
            property="closeReasonCodeList" /&gt;
    &lt;/html:select&gt; 
</code></pre>

<p>the implementation in the JSP seems to trigger call to a function defined in the ListBean, which has the following implentation for the class.</p>

<pre><code>public ListBean()
    {
        this.lists = new HashMap&lt;String, List&lt;LabelValueBean&gt;&gt;();

}

/**
 * Get the list based on the specified the list name.
 *
 * @param listName  a string as the name of the list
 * @return          the value of the list
 */
public LabelValueBean[] getList(String listName) {
    List&lt;?&gt; list = this.lists.get(listName);
    return list.toArray(new LabelValueBean[0]);
}

/**
 * Gets  all the predefiend lists.
 *
 * @return   a Map as all the lists
 */
public Map&lt;String, List&lt;LabelValueBean&gt;&gt; getLists() {
    return this.lists;

public LabelValueBean[] getCloseReasonCodeList(){

    getList(Constants.LST_CLOSE_REASON_CD);

   return getList(Constants.LST_CLOSE_REASON_CD);

}
</code></pre>

<p>The problem for me is that I want to have the information in my action class instead of JSP, but I do not know the syntax for getting the information in the action class.</p>

<p>I tried to instantiate on object on the ListBean and called the getCloseReasonCodeList, but I could not get the return type correct.  I don't know enough about the labelValueBean[].  I don't know if it will work if i try to instantiate an object on the class, since in the JSP it seems to be able to just go the method for the information stored in memory.</p>

<p>Can anyone help me out?
Thank you for your time.</p>
