I am sending a request like the following to a
servlet.
POST /cool/test HTTP/1.1
User-Agent: Java/1.4.2_04
Host: 127.0.0.1:8089
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
bXkgbmFtZSBpcyByYWh1bCAxMjM
What does request.getInputStream() return ?
Can I not get a inputStream of the body of the request using this?
I tried but got a inputstream with in.available() == 0
why is this so ?