-2

I have observed that when the address in the address bar is selected and an enter key is pressed,the doGet method is invoked and not the doPost method. 如何调用 doPost 方法,而不是 doGet。

4

1 回答 1

0

在你的 doGet() 方法中添加这个

doPost(request,response);

它会起作用

于 2013-10-14T10:09:40.177 回答