开发者

Redirect to foreign page by embedding request

开发者 https://www.devze.com 2023-01-31 19:46 出处:网络
How to call/redirect to the foreign page by embedding requ开发者_开发知识库est object from the servlet?That\'s not possible. You need the response object.

How to call/redirect to the foreign page by embedding requ开发者_开发知识库est object from the servlet?


That's not possible. You need the response object.

response.sendRedirect("http://google.com");
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号