bonjour,

voici ma jsp
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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
 
<%@ page language="java"%>
<%@taglib prefix="bean"  uri="/WEB-INF/struts-bean.tld"  %>
<%@taglib prefix="html"  uri="/WEB-INF/struts-html.tld"  %>
<%@taglib prefix="logic" uri="/WEB-INF/struts-logic.tld" %>
<html>
<head>
  <title>Gestion utilisateur</title>
</head>
 
<body leftmargin="0" topmargin="0" style="background-color: rgb(238, 238, 238);">
 
<map name="Map1">
<area target="_self" href="administrateur.jsp" coords="2,26,160,70" shape="rect" >
<area target="_self" href="/ModuleWeb1/administrateur?camion" coords="2,74,160,118" shape="rect">
<area target="_self" href="servlet1.html" coords="2,122,160,166" shape="rect">
</map>
 
<map name="Map2">
<area target="_blank" href="http://www-fr.mysql.com/" coords="45,110,120,145" shape="rect">
<area target="_self" href="ajoutuser.jsp" coords="314,110,424,145" shape="rect">
<area target="_self" href="/ModuleWeb1/administrateur?modifuser" coords="428,110,538,145" shape="rect">
<area target="_self" href="/ModuleWeb1/administrateur?supuser" coords="542,110,652,145" shape="rect">
</map>
 
<table align="center" border="0" cellpadding="0" cellspacing="0" height="600" width="760">
  <tbody>
    <tr>
      <td style="width: 604px;" colspan="2">
      <div align="center"><img src="img/ban_acceuil.gif" usemap="#Map2" border="0" height="151" width="760"></div>
      </td>
    </tr>
 
    <tr>
      <td style="width: 154px;"><img src="img/bp_usr.gif" usemap="#Map1" border="0" height="449" width="166"> </td>
      <td valign="top" style="width: 604px;" bgcolor="white">
        <font face=Arial color=#8bacb1 size=3><b>Gestion des utilisateurs</b></font>
         <p><p>
<form action="/ModuleWeb1/administrateur" method="get">
 
<center><table width="60%" border="1">
           <tr>
             <td><b><center>Selection</center></b></td>
             <td><b><center>Nom d'utilisateur</center></b></td>
             <td><b><center>Mot de passe</center></b></td>
             <td><b><center>Droit</center></b></td>
           </tr>
 
           <logic:iterate id="idListUser" name="listuser" scope="request">
 
           <tr>
             <td width="11%">
               <center>
               <input type="radio" name="userChoisi" value="<bean:write name="idListUser" property="nom"/>" />
               </center>
             </td>
             <td width="30%"><bean:write name="idListUser" property="nom"/></td>
             <td width="30%"><bean:write name="idListUser" property="password"/></td>
             <td width="24%"><bean:write name="idListUser" property="fonction"/></td>
           </tr>
           </logic:iterate>
           </table></center>        
           </form>
       </td>
    </tr>
  </tbody>
</table>
</body>
</html>
donc en fait l'utilisateur choisira une donnée dans le formulaire (1er get)
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
21
22
23
24
25
26
 
<form action="/ModuleWeb1/administrateur" method="get">
 
 <center><table width="60%" border="1">
            <tr>
             <td><b><center>Selection</center></b></td>
             <td><b><center>Nom d'utilisateur</center></b></td>
             <td><b><center>Mot de passe</center></b></td>
             <td><b><center>Droit</center></b></td>
            </tr>
 
           <logic:iterate id="idListUser" name="listuser" scope="request">
 
            <tr>
              <td width="11%">
                <center>
               <input type="radio" name="userChoisi" value="<bean:write name="idListUser" property="nom"/>" />
                </center>
              </td>
             <td width="30%"><bean:write name="idListUser" property="nom"/></td>
             <td width="30%"><bean:write name="idListUser" property="password"/></td>
             <td width="24%"><bean:write name="idListUser" property="fonction"/></td>
            </tr>
            </logic:iterate>
           </table></center>        
            </form>
et apres choisira d'aller modifier ou de supprimer cette donnée en cliquant sur l image mapper (2eme get) qui renvoi sur une servlet
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
<map name="Map2">
 <area target="_blank" href="http://www-fr.mysql.com/" coords="45,110,120,145" shape="rect">
 <area target="_self" href="ajoutuser.jsp" coords="314,110,424,145" shape="rect">
 <area target="_self" href="/ModuleWeb1/administrateur?modifuser" coords="428,110,538,145" shape="rect">
 <area target="_self" href="/ModuleWeb1/administrateur?supuser" coords="542,110,652,145" shape="rect">
 </map>
je ne voit pas du tout comment je pourrai passer les deux infos a la servlet...
si quelqu'un a une solution je suis preneur