Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

send an array of String in an ajax request and get it in JAVA

user647536Dec 27 2010 — edited Dec 27 2010
Hi,

I would like to send an array of parameters (because the number of parameters may vary) from a JSP page for an ajax request.

Is it possible to send an array of String for example ?

I would also like to get that array of parameters in JAVA from the server side. Would the method java.lang.String[] getParameterValues(java.lang.String name) do the trick ?

Thank you in advance for your answers
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2011
Added on Dec 27 2010
1 comment
735 views