Use a HttpURLConnection object to establish a connection with the servlet. Then retrieve the OutputStream from the HTTP conn, then loop the array, writing the contents to the stream.
You cannot send an INTEGER array to a servlet. Servelt Container reads every parameter as a String Object. Yes, you have to send the array as a normal parmenters.
Is it written anywhere?? Could you point me to the source..
I know that while getting parameters, out of the request Object, they all return Strings..I can do a getqueryString and get the query String and then parse the string to get the parameters that I sent in..
I thought, I can send in any Object as part of Query String..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.