[résolu][STRUTS] problème de formulaire
	
	
		bonjour,
je cherche actuellement a créer un formulaire avec struts, pour cela j'ai bien initialiser le ficher web.xml et struts-config.xml.
cependant lorque j'execute ce code:
	Code:
	
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 
 |  
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html locale="true">
<head>
    <title><bean:message key="index.title" /></title>
    <html:base/>
</head>
<body>
<html:form action= "/login" focus="username">
    <bean:message key="prompt.login" />
	<html:text property="login" />
    <br />
    <bean:message key="prompt.password" />
	<html:password property="password" />
    <br />
	<html:submit>
        <bean:message key="index.login" />
	</html:submit>
 </html:form>
</body>
</html:html> | 
 il me met cette erreur:
javax.servlet.jsp.JspException: Cannot retrieve mapping for action /logon
voici mon fichier xml:
	Code:
	
| 12
 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
 
 |  
<?xml version="1.0" encoding="ISO-8859-1"?>
 
 
 
<!DOCTYPE struts-config PUBLIC
 
          "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
 
          "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
 
 
<struts-config>
 
  <form-beans>
 
    <!-- Logon form bean -->
 
    <form-bean      name="loginForm"
 
                    type="LoginForm"/>
 
  </form-beans>
 
  <action-mappings>
 
 
 
    <!-- Process a user logon -->
 
    <action    path="/login"
 
               type="LoginAction"
 
               name="loginForm"
 
               scope="session" 
 
               input="/index.jsp">
 
    </action>  
 
  </action-mappings>
</struts-config> | 
 d'ou provient l'erreur svp?
edit: petite erreur dans mon code mais même résultats