This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Our system uses apache and tomcat on linux boxes. Does anyone know how to configure tomcat to use a custom 404 error page? I can get a custom page (via apache) when someone enters a bad .html URL, but would like to have a custom page for when someone enters a bad .jsp URL. THanks
Joined: Feb 05, 2001
fingered it out. In the WEB-INF/web.xml file for each context, add the following <error-page> <error-code> 404 </error-code> <location> /jsp/errorPage404.jsp </location> </error-page>
the file entry (/jsp/errorPage404.jsp) must start with a / and is relative to the context home directory.