doGet() or doPost() methods will be called based on what method you define in the jsp/html i.e. if you define method="post", doPost() will be called, and if you define method="get", doGet() will be called.
And again there is easiest way to find out what is getting called when, by using either debugger or logs