bonjour,

j ai defini des boutons avec des <map> et des <area>
comme ceci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
<map name="Map1">
<area target="_self" href="gestionuser.jsp"  coords="2,26,160,70" shape="rect">
<area target="_self" href="gestioncamion.jsp" coords="2,74,160,118" shape="rect" >
<area target="_self" href="servlet1.html" coords="2,122,160,166" shape="rect">
</map>
et je souhaiterai plutot lancer une servlet, j ai pensé faire quelque chose comme ca mais sans succes
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
 <!--
  <script language="JavaScript">function envoie(){
  document.toto.submit();
  }</script>   //-->
 
<map name="Map1">
<area target="_self" href="gestionuser.jsp"  coords="2,26,160,70" shape="rect">
<form action="/ModuleWeb1/GestionCamion" name="toto" method="post">
<area target="_self" href="JavaScript:envoie()" coords="2,74,160,118" shape="rect">
</form>
<area target="_self" href="servlet1.html" coords="2,122,160,166" shape="rect">
</map>
si quelqu un pourrai m aider ...