> value='mypath'/>">I have a question about how to retrive the value from a > data object in the form bean > value='mypath'/>"> > value='mypath'/>">I have a form bean, TestForm where I declare my dataobject as > value='mypath'/>">private testdata[] data; > value='mypath'/>"> > value='mypath'/>">with its getter and setter > value='mypath'/>"> > value='mypath'/>">In my testdata class I have a String name, String address > value='mypath'/>"> > value='mypath'/>">Now, for me to get the values of the data object in jsp using iterate tag, how do I do it ? > value='mypath'/>"> > value='mypath'/>">I have my formbean declared in the jsp. > value='mypath'/>"> > value='mypath'/>">I am trying to use this > value='mypath'/>"> > value='mypath'/>"> <logic:iterate id="testdata" name="TestFormBean" > property="list" indexId="index"> <html:select property="testdata" name="TestFormBean" indexed="true" > <html:options property="testdata.name" name="testdata"/>; </html:select> </logic:iterate> I get this exception javax.servlet.ServletException: No getter method available for property tndata.tnStatus for bean under name TestFormBean
Please helpme, what am i doing wrong ? TestFormbean looks like this private Testdata[] testData; public TestData[] getTestData() { return testData; } public void setTndata(Testdata[] testData) { this.testData= testData; } --------------------------------- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.