Forums Register Login

How to send ArrayList object in request url in java URL class and get it in php

+Pie Number of slices to send: Send
How to send ArrayList object in request url in java URL class and get it in php
+Pie Number of slices to send: Send
You can't send an array list directly. HTTP doesn't have any provisions for it.

What you can do is to send multiple request parameters with the same name, which can be interpreted as an array on the receiving end.
+Pie Number of slices to send: Send
Prepare the arraylist values as XML send as plain string ;-)
I found a beautiful pie. And a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 4736 times.
Similar Threads
Access my request from my class
Writing to a URLConnection object
how to send a post request using ajax
Post to Servlet from Applet doesn't work
PHP\Java Bridge
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:08:47.