bonjour a tous;
je suis entrain de travailler sur une application Struts hibernate et j'ai besoin d'afficher l'ensemble des ulilisateurs stocké dans la base de donné sous format d'un tableau et j'utlise une dispaly tag sur mon jsp :
listArticle est un arrayList<display:table name="listArticles" requestURIcontext="/affiche.do" export="true" >
<display:column property="nom" title="nom---------------" sortable="false" />
<display:column property="prenom" title="prenom---------------" sortable="false"/>
<display:column property="identifiant" title="identifiant-------------" sortable="false"/>
<display:column property="motDePasse" title="motDePasse------------" sortable="false"/>
<display:column property="typeUser" title="typeUser-------------" sortable="false"/>
<display:column property="dateNaissance" title="date naissance--------------" sortable="false"/>
<display:column property="addressEmail" title="e-mail----------------------" sortable="false" autolink="true"/>
</display:table>
le programme m'affiche bien la liste des utilisateurs a partir de de la BD mais j'ai besoin que ca soit dans un tableau tracé.
voici ma page d'affichage html:
Merci a tous
nom .. prenom .. . identifiant .. . motDePasse .. typeUser ... .... e-mail--
zai ..... zai .......... serge........... mano............user
azed ...simo ........ simo ......... ..simo .............admin .............simo@aaaa.com
Partager