This input tag was listed first on the page and it is coming back first in the array on the submit... I don't know if the ordering is guaranteed, but so far so good.
Noah Levitt <[EMAIL PROTECTED]> wrote: >Hello, > >I don't know the answer to your question, but I have a >question for you. How do you know the that the value >submitted from the input field > ><html:text name="formBean" property="foo"><bean:write name="formBean" >property="foo[1]"/></html:text> > >will go into foo[1] and not some other index of foo? > >Noah > > >On Thu, Jun 06, 2002 at 05:05:10PM -0400, [EMAIL PROTECTED] wrote: >> I solved the scope problem on my form bean and have a new problem :) >> >> I have a property in the form bean which is a String[]. I have several text input >fields on the JSP all using the same property name. However I want the values for >each of the text areas to be initialized to a particular index of this property. >> >> My JSP tags look like this: (where foo is the String[] property) >> >> <html:text name="formBean" property="foo"><bean:write name="formBean" >property="foo[1]"/></html:text> >> >> Should work right? But my text fields are initiated with -> > "[Ljava.lang.String;@448d" >> >> Seems like it's displaying the pointer instead of the value...which is initially a >blank String. >> >> How can I correct? >> >> Thanks > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>