Hi all,
Say, your
Servlet only has doPost(), but a Get is sent to it, what will happen? Empty output, or Exception with status 405?
From Jwebplus, it says HttpServlet provides emptry implementation for all do***() methods, so there will be no Exceptions. But from the Mockexam on the ranch, it says Exception will be thrown. I tried it on
tomcat, status 405 is returned.
What do you think?
Kyle