1 Reply Latest reply on Jul 2, 2003 10:51 AM by worthe

    Capture SecurityException

    tscondor

      Hi!,
      I have another little problem... ;)
      When a user have not permission for one method the container return a java.lang.SecurityException. How to capture this exception inmy web application?
      I have write in the web.xml the following lines:

      <error-page>
      <exception-type>java.lang.SecurityException</exception-type>
      /errore.html
      </error-page>

      but do not work. I have jboss 2.4.10 with Tomcat 4.0.6

      Thanks for all!

      Simone