bonjour;
j'utilise jsp pour afficher des donnes dans ma base et maintenant je veut utiliser jsf je veut utiliser est ce que c'est la meme procedure que jsp ou non :
ma procedure jsp ete :
sinon quel tags pourrai je utiliser et merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 <table width="90%" > <% Iterator it = ((Collection)request.getAttribute("listContacts")).iterator(); while(it.hasNext()) { Contact contact = (Contact)it.next(); %> <tr> <td><%= contact.getFirstname() %></td> <td><%= contact.getLastname() %></td> <td><%= contact.getAddress() %></td> <td><%= contact.getCity() %></td> <td><%= contact.getZipCode() %></td> <td><%= contact.getPhone() %></td> <td><%= contact.getMobile() %></td> </tr> <% } %> </table>
Partager