This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Indexed properties problem- Confusing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Indexed properties problem- Confusing" Watch "Indexed properties problem- Confusing" New topic
Author

Indexed properties problem- Confusing

Swathi Prakash
Ranch Hand

Joined: Jan 18, 2005
Posts: 49
hai all,,

Please Help me.. How to use indexed properties..my jsp code i pasted below..i Dont knoe how to create the Form bean and how to get the values of jsp to action..

<%ArrayList values=(ArrayList)request.getAttribute("myarray"); %>
<logic:iterate id="MyBean" name="IPOListForm" collection="<%=values%>" property="MyArray">
<html:text name="MyBean" indexed="true" property="bidqty" indexed="true"/>
</logic:iterate>

this code generates number of text boxes according to the size of the arraylist..then how cani get the values in action .. and how to create the form for this page ...please help me..

Swathi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Indexed properties problem- Confusing