struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srsankar <sriram.it...@gmail.com>
Subject javascript array to Struts 2 action
Date Tue, 10 May 2011 13:40:22 GMT
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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message