Hi All,
I am a newbie to struts. I want to populate a list box using String[]. This is
the code i used in my jsp
<html:select name="FileImportForm" property="fileHeaders" size="20"
styleClass="tasklist1">
<html:options name="FileImportForm" property="fileHeaders"
labelProperty="fileHeaders"/>
</html:select>
fileHeaders is a String[] object. When i tried to execute the above,
i am getting the following exception
javax.servlet.jsp.JspException: Property fileHeaders returned a null value
org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:416)
org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:294)
any clues?
thanks
Ram