This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Indexed properties problem- Confusing
 
Similar Threads
Help Please?
Dynamic Textboxes.
logic iterate something wrong
How to iterate a collection of objects with collections of other objects?
To get indexed property value defined in html:text inside action class