JSP: Exemple d’utilisation de code Java en JSP

Author:
       
<%!
  String[] names = {"Paris", "Londre", "Madrid", "Milan"};
%>


  Code imbriqué

  
    

Liste des capitales

           Nom       <% for (int i=0; i         <%= names[i]%>       <% } %>                            

Leave a Reply

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