ERROR javax.servlet.jsp.JspException: Failed to obtain specified collection at org.apache.struts.taglib.html.OptionsCollectionTag.doStartTag(OptionsCollectionTag.java:176)
Why my form list property is null ?
[ November 14, 2008: Message edited by: Federico Artebani ] [ November 14, 2008: Message edited by: Atlantide ]
I think you need an indexed getter and setter for your list property in addition to the unindex ones you have. That is, make methods with the same names that take in additional parameter, and int. Then use that int to either get the value from the list at the int position or set an individual record at the int position.
Post your action mapping for above action from struts-config.xml, and one doubt, you post the code for MyForm form & you are retrieving in action class as