doGet() and doPost() are called in different
ocassions, when you call an URL you normally make a
GET request, when you put a form and set the <FORM
METHOD=POST> then you have a post request. Forms can
be either get or post, so to process a form request
yuou may program both methods or you mey loose some
requests
so, the easieste way is to call doPost() from doGet()
or viceversa or point both of them to your function.