1
request.getRequestDispatcher("https://app.inpostlinks.com/login").forward(request, response);
我想將請求轉發到外部URL,如https://app.inpostlinks.com/login
,而不是駐留在servlet所在的容器中。RequestDispatcher
它沒有得到轉發。上述場景中是否有解決方案?