• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
omair bcs
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to send ArrayList object in request url in java URL class and get it in php
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sujeeth Pakala
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prepare the arraylist values as XML send as plain string ;-)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!