Dave Tolls wrote:Just asking because this will occur if you've not got a no-args constructor available for your servlet.
Dave Tolls wrote:Is that the whole of the servlet code?
The IDE creates a HTTPServlet by default but it was giving this error, so what I did was I removed the HTTPservlet and used GenericServlet
eat bricks! HA! And here's another one! And a tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton