开发者

Redirect to foreign page by embedding request

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜