Sorry for the late reply, it works, just a dumb mistake on my part. I wasn't handling GETs in my custom error servlet.
Thanks again, Alec On Thu, Jan 9, 2014 at 5:11 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Alec, > > On 1/9/14, 2:28 PM, Tomcat Random wrote: > > I have a custom error servlet set up in my webapps web.xml file > > like so: > > > > <error-page> > > <exception-type>java.lang.RuntimeException</exception-type> > > <location>/runtimeExceptionHandler</location> </error-page> > > > > In JSTL if a property is spelled incorrectly or doesn't exist, the > > PropertyNotFoundException will not trigger the error servlet, even > > though PNFEs extend RuntimeException. Anyone know why this is? > > > > Tomcat 7.037 on Win7. > > Does your error handler work in other situations? For example, if you > throw RuntimeException from a servlet? How about > PropertyNotFoundException from a servlet? What about throwing either > of them directly from a dummy JSP? > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJSzx6EAAoJEBzwKT+lPKRYenkP/2CwWPCsYDGRDn7o5Kgn4AK4 > /kvFW8dzy0gUdVWj5t9VnrefqOyVnzGxKXfPTh0z1EFp8OZroe2Fh/r5ojH/nbRB > E/ZCNIILNfazxA6QCCo8B30vLkv4IEnzCF4DFswRjECB/4ZuOASL8hBiAzikGiKj > ZTRLRePEK/kG0822rbWuy1RmgwDiEAZcDFtcPYUbMY8MoBb913XN0gv7kYnbhNy/ > mq1VWVCa7hQtUnjBxcDJwFpcWUqc7zZpJmFW2PcsBo0489OnuhR9lUEGQbZDXeGe > SfRZg/Kat2fSs1Rd9vKGMqcP0Q2YgZ1n1HG3lyzbY7q29/6pS0agpdckgdteRydA > 5kyyjpI0jQUKiUOic2NdiZYbYE+8m8b1J9JojLBCIl9v7LQ7N6AIkFgktk6XY+Ij > BRvKbN3MDt2yHfaxILJ4pGrqHhnS7RUKB9zf+5YNMx3dNntU7AQv9Ky+pJTaWnub > LgDrLSnCgGQgHHUibVxKsoVg86R19Tx5ZBEZXzb2IZDTnjdDAW1Xb4qFhxLtaTw5 > TlqXyiWA4UiRpgc/3FfCM1SXaaSffRxBJtW14Ead5ugtdbrl6B01UEpUKDhbTjgM > pNQFAnR44fpIA28WpHS4OC29c95ZzwlcJsHryMie3kaENzZIVIYalI5atxTI3kUz > E9R/OFChkf8RVBwQV+0a > =h3AK > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >