wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
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
Help Please?
Dynamic Textboxes.