Bonjour,
Débutante en Java, j'au un problème avec le code suivant :
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
<html>
  <head>
  <title> Premiere Connexion</title>
  </head>
  <body>
<h1> COUCOU </h1>
 
 <%
          String Login = request.getParameter("Identifiant");
          boolean okLogin=true, okMotPasse =true ;
          try
            {if (Login.length() !=0) {okLogin=true;}
            }
          catch (NullPointerException e)
          {okLogin=false;
          %> 
 
	  <script language="Javascript">
	  window.alert("Erreur !! Vous n'avez pas saisi de Mot de Passe");
	  window.location.href="http://localhost:8080/tp2/JSP/Connexion.html";
	  </script> <%
          }%>
 
	  Le login est : <%=Login%>
 
 
	   </body>
 </html>
le Javascript ne fonctionne pas... Auriez vous une idée...??

Par avance, merci.