在httpRequest中同时包含了post和get的信息。 系统HttpServlet的service中,会判读调用的方法。如果是post 就调用 doPost方法,如果是get,就调用doGet方法。如果你覆盖了service,doGet,和doPost就不会被调用了。
好像是service方法里面已经包括了get和post方法
就是因为 Server方法中,同时解析 了 Post和Get~~~~~~~~~~~~~~~~~~~