JSP: Utilisation du bloc try/catch

Author:
       

    
        Exemple d'utilisation try/catch Block
    

    
        

Utilisation du bloc try/catch

    <%         try{             int i = 1;             i = i / 0;             out.println("Résultat " + i);         }         catch (Exception e){             out.println("Erreur d'exception: " + e.getMessage());         }     %>                         

A Voir sur le même Sujet:

  • try catch
  • application java exemple
  • java.mesexemples.com
  • try jsp

Leave a Reply

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