Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts Users »

help me about indexed properties

Mu Mike

2004-03-11


I have the below jsp file needs help



<%@(protected)" %>
<%@(protected)" %>
<html>
<body>
<html:form action="indexedtest5.do">
 <logic:iterate name="stringbean" property="stringArray" id="foo"
           indexId="ctr">
  <!--what do name property id indexID mean here? what value can I set to
them?
  I searched online only fail to find any doc that give detailed
explaination about these proeprties>
-->
  <html:text name="stringbean"
         property='<%= "labelValue[" + ctr + "].label" %>' />
  <!--what do name and propetry mean here? what value can I set to
them?-->

 </logic:iterate>
 <html:submit property="submitValue">Submit Changes</html:submit>
</html:form>
</body>
</html>

and I dont have the related bean files ,can anyone give me example bean
files that can be used for this jsp file?

Thanks&Regards

_________________________________________________________________
锟斤拷j锟斤拷锟斤拷锟斤拷呀锟斤拷薪锟斤拷锟斤拷锟绞癸拷锟�MSN Messenger: http://messenger.msn.com/cn


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@(protected)
For additional commands, e-mail: struts-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.