I have been throwing ServletExceptions in the past, when something/anything goes wrong in a Servlet, mostly just wrapping the exception in the ServletException.
Now I am thinking it is actually better to not throw a ServletException, but to respond with response.sendError(sc) and use the correct HTTP status codes.
if I can't send an error using reponse.sendError, (IOException), I wrap the IOException in a ServletException.
Is the above a better way to respond? When is it OK to just throw a ServletException?