This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
String array in form
Joined: Jan 26, 2002
Jan 18, 2006 01:28:00
I have an ActionForm in struts-config for eg,
<form-bean name="SomeForm" >
<form-property name="stringsSelected" type="java.lang.String" />
, i am creating a hidden field for this property like,
<html:hidden property = "stringsSelected"/>
array using this form property fuch as
document.forms.stringsSelected.value = myJSStringArray;
document.forms.stringsSelected = myJSStringArray;
If property stringsSelected is a string instead of string  it works, for String array it does'nt.
Author and ninkuma
Joined: Jan 10, 2002
Jan 18, 2006 08:44:00
Please do not cross-post the same question in more than one forum.
Asking smart questions
Books by Bear
Have you checked out
subject: String array in form
have a question about checking an array of input text
Double Refresh of JSPs
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015