Next, use Eclipse's QuickFix (by clicking greet and pressing Ctrl-1, for example) to generate a method stub for greet , and add code to the stub as follows.
接下来,用Eclipse的quickfix为greet生成一个方法存根,然后为存根加入代码。
Next, use Eclipse's QuickFix (by clicking on greet and pressing Ctrl-1, for example) to generate a method stub for greet , and add code to the stub as follows.
接下来,使用Eclipse的QuickFix(比如,通过单击greet并按Ctrl - 1)为greet生成一个方法存根,并将代码添加到该存根,如下所示。
Try performing a POST against your handler to see the response from the stub, as if you were trying to create a new entry in the database.
如果正在数据库中创建新的条目,可尝试在处理程序上执行POST,来查看来自存根的响应。
应用推荐