碰到这句话 HTTP method GET is not supported by this URL 怎么办?
我在HTML里面用一个超连接
<a href="/jhtp5/redirect?page=welcome1">welcome1</a><br>
跳转页面到个servlet里面 然后得到page的值
String page=request.getParameter("page");
接着重定向
response.sendRedirect(page);
就出现了
type Status report
message HTTP method GET is not supported by this URL
description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).
这句话
他说不支持GET方法,但是我看How to program java 这本书里就是这样做的,真郁闷,谁能告诉我到底是什么原因呢?