Simply call the one method from the other. eg. From within doGet(), call doPost() passing both the request and response objects. doPost then has access to the same request that triggered doGet in the first place. Or vice-versa
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
a bit of art, as a gift, the permaculture playing cards