少于 1 分钟阅读

public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {  
    doGet(req, resp);  
}  

简直是最简单也最直白的例子了。我们称 doPost() delegates its function to doGet() 或者说 doPost() delegates doGet() to function。

标签:

分类:

更新时间:

留下评论