Forward a servlet request to another server

前端 未结 3 1267
半阙折子戏
半阙折子戏 2020-12-06 02:00

Java Servlet API can forward requests to another path within the same server (identical host:port). But, forwarding to a different host:port — like proxy do — is an

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-06 02:35

    As far as I understand You need to send requests from Servlet and get response from other server into yours, may be you need a HTTP Client (Overview) for that.
    This question might also help you.

提交回复
热议问题