cours0708/P51/apache-tomcat-6.0.14/webapps/ROOT/vues/loginForm.jsp

13 lines
539 B
Plaintext
Raw Normal View History

2008-11-25 21:11:16 +00:00
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:url var="login" value="/connexion" />
<h1>Authentification</h1>
<p><c:out value="${message}" default="Identifiez-vous :"/></p>
<form method="POST" action="${login}">
<label>Identifiant :</label>
<input name="id" type="text" value="<c:out value="${user.id}"/>"/><br />
<label>Mot de passe : </label>
<input name="password" type="password" value="<c:out value="${user.password}"/>"/><br/>
<input name="ok" type="submit" value="Ok"/>
</form>