The above functions call the doPOST function to submit their requests.
上述函数会调用doPOST函数来提交它们的请求。
You can resolve this problem by implementing a doPost() method in your servlet.
可以通过在servlet中实现doPost()方法解决这个问题。
The Http11NioProtocol configured in the first step calls the event() method instead of doGet or doPost to process requests.
在第一步中配置的Http11NioProtocol调用event()方法来处理请求,而不是doGet或doPost。
This class contains a set of methods that match the HTTP protocol. To get the content of a request, the methods are doGet() and doPost().
该类包含了一组与HTTP协议相匹配的方法,其中获得请求内容的方法是doGet() 和 doPost() 。
The doPOST function expects the service query command, query input values, and a callback function to process the result returned from the services.
doPOST函数使用服务查询命令、查询输入值及一个回调函数来处理从这些服务返回的结果。
One way to approach this is to factor the extraction of the parameters and the invocation of the doPost method itself into a base class, such as in version 2 shown in Listing 8
一种解决方法是将参数提取和doPost方法本身的调用添加到一个基类,如清单 8中的版本2所示
Next, observe the doPost() method (listing 2), which is called when a form is submitted to the servlet (that is, when the user clicks the submission button that was previously added to the form).
接下来,查看doPost()方法(清单2),向servlet提交表单时(即,用户单击先前添加到表单的提交按钮时),将调用该方法。
Next, observe the doPost() method (listing 2), which is called when a form is submitted to the servlet (that is, when the user clicks the submission button that was previously added to the form).
接下来,查看doPost()方法(清单2),向servlet提交表单时(即,用户单击先前添加到表单的提交按钮时),将调用该方法。
应用推荐