When a user appears on "our" site, we get HttpServletRequest and HttpServletResponse . We use the data from the request to form the variables and send it by post, then you can use the response to make sendRedirect to forward to the "someone else's" page. The trouble is that sendRedirect does not support sending by the POST method, only GET 'th

    1 answer 1

    I can only offer hack. Namely, you need your own page to which you will redirect the request, and already on this page you need to perform a POST request to a "foreign" resource using JavaScript.