0

I have ArrayCollection in my flex page.

What is the best approach to send this data to a Java Servlet?

If i sent the array collection through url request, it receiving in servlet as string.

I need to iterate and take that data.

Please help how we can get the data as list or map. so that we can iterate and take the data.

1
  • You can convert the whole array collection into XML or JSON format and send it as string to server where your built-in XML parser and/or third party JSON library to reconstruct request parameter(s) to object in java. Commented May 16, 2012 at 16:41

1 Answer 1

1

What FinFlex says would work just fine. You could also use BlazeDS.

Have a look at the 'servlet-based endpoints' docs:

http://livedocs.adobe.com/blazeds/1/blazeds_devguide/index.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.