1 pièce(s) jointe(s)
un probleme de l'affichage de jsp a vous poser
bonjour j'ai un problem pour affichage voir la photo
d'abord j'affiche 5 lignes sur ecran ;clique submit ,
5 lignes suivantes continuent , meme operation j'ai 20 lignes a afficher
code: (nom de ce programme est test2.jsp )
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
<table border="1">
<%
for (int i=0;i<4;i++)
{
%>
<form action="test2.jsp" method="POST">
<%
for (int j=0; j<5; j++)
{
%>
<tr>
<td> <%= j%></td>
<td> <%= j%></td>
<td> <%= j%></td>
<td>=</td>
<td><input type="text" name="valeur" value="2"/></td>
</tr>
<% }%>
<tr><td> <input type="submit" value="submit"/></td></tr>
</form>
<%
String[] tab=request.getParameterValues("valeur");
}
%>
</table> |