Hi, try with String[] field in your action, or create a custom field setter that will take String[] as a parameter. I also assume that on your page You are submiting it as an array?
Best greetings, Paweł Wielgus. 2011/5/10 srsankar <sriram.it...@gmail.com>: > i am having a array of strings on javascript and i would like to make an ajax > call to struts 2 action which expects List<String>. I need to know a way to > pass these values to action which will recognize it. If i pass the array > directly, SOP is printing it as an Object and it couldnt able to cast it to > java List. Please help me to identify how to do this. thanks. > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/javascript-array-to-Struts-2-action-tp4384471p4384471.html > Sent from the Struts - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org