In a JSP page, I need to do the following (this is psuedo-code):
//Attach new POST params to request
//Make the request go to a 3rd party URL
How do I do this?
The way we are solving this right now (is terrible):
//populate and generate an HTML form
//on window.load submit the HTML form (as a POST) to a 3rd party URL
We want all this to be done on the server side instead of having this JS hack
There is no way to do this in Java. You would need some sort of proxy server or apache re-write rule or something like that. Java is not the right place to do this.