struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "siraj" <>
Subject Dynamically updating Arraylist value
Date Mon, 17 Apr 2000 09:13:36 GMT
hi ,

  i have a problem in setting value in the bean from a arraylis
 this is how i have written my jsp code
<logic:iterate id="element" name="itemBean" property="fieldname" indexId="index" offset="0">

<strong><bean:write property="element" /> 

<html:text name="itemBean" property='<%="fieldvalue["+index+"]"%>' /> </td>


and method in bean is 

public void setFieldvalue(int k, String str){

System.out.println("inside setFieldvalue "+str+"***"+k);



in set method only one value is set and stops without setting the other value

some one have any idea ?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message