How do you properly handle errors encountered in a servlet? Right now, the app that I inherited (uses only plain JSP/Servlet) has a superclass called Controller
Controller
In JSP you can use jstl core library
1) Import tablib on top of JSP file
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
2) use tag
Code that might throw Exception There was an exception: ${myExceptionObject.message}