I am wondering if it is possible to write a servlet and java client app that communicate multiple objects over a single connection. I have written code that will pass a single mime type back and forth, but I was hoping to write multiple mime/types from my servlet to a client using the HttpURLConnection. So far, the URLConnection doesn't seem to understand when I try to set the content type the second, third, fourth time. Is this even possible or are browsers the only clients that understands multipart response?
posted 14 years ago
steve_ball, Please read naming policy and re-register with a name that conforms. We would like you to be able to continue to post here at JavaRanch. Thanks. Matthew Phillips