JSP: Gérer une Exception(throw)

Author:
       

    
        Gestion des Exception
    

    
        TJeter l'exception
        <%
        try {
            throw new ArithmeticException("Math Exception!");
        } catch(ArithmeticException e) {
            out.println("Le message de l'xception: " + e);
        }
        %>
    


           
              

Leave a Reply

Your email address will not be published. Required fields are marked *