I have a simple method=POST form with 3 hidden parameters. The user clicks the submit button and is directed off to the URL where some other processing occurs using the parameters.
I want to achieve exactly the same thing, but from within a servlet.
It seems possible to achieve the above using a GET method, i.e.
String newURL = "https://www.mydomain.com/cgi-bin/test?value0=tryit&value1=none&value2=some
However, I am not allowed to have the parameters visible in the URL. I cant help thinking that this is such a basic thing there must be an easy solution....surely it must be possible to simulate a simple form submission ?