This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If your servlet doesn't implement doPost and someone makes a post request to it, the container will let them know that this type of request is not supported by throwing a servletException with a meaningful message.
To change this behaviour, you override doPost and add your own code. There is really no point in calling super.doPost. [ December 01, 2005: Message edited by: Ben Souther ]
Withour going into the details, I was also thinking what Ben said.
There is really no point in calling super.doPost.
Well there can be, but only if you know why you're doing it. For example we had a abstract Servlet once which did some generic processing, but if I remember correctly we designed it a bit diferently so it wasn't as good a story as I'd hoped