Scenario:
You have an HTML page with post (original request) and you get a response from a HTML/Servlet/JSP ignoring original request. Next you need to send a request with values from HTML/Servlet/JSP and the original request to a Servlet/jsp.
Why?:
The code was written/designed this way and I didn't have any control of the design. I just need a way to make this work with minimal code change
One fix is building a query
string but that is not how a post should work.
So my next thought is to set the Content-Length header field to the size of the query string and put the query string in the header. I believe thats how a post works. Do you know how do to set the query string in the header?