SignupServlet needs to override doPost (or service) and delegates to processRequest.
PS: you can report to Oracle they should either provide the full sample or fix their tutorial ;) Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-05-23 19:01 GMT+02:00 paulhr <[email protected]>: > HTTP Status 405 - HTTP method POST is not supported by this URL > > > type Status report > > message HTTP method POST is not supported by this URL > > description The specified HTTP method is not allowed for the requested > resource. > > > Apache Tomcat (TomEE)/7.0.68 (1.7.4) > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Trying-to-get-oracle-Handling-Forms-in-Java-EE-6-by-Using-Servlets-and-CDI-example-working-on-TomEE-e-tp4678567p4678573.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
