Ciao a tutti,
su eclipse ho un progetto che usa Tomcat 4.1 e Servlet 2.3. ed ho il seguente file web.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="WebApp_ID">
<display-name>TestSoft</display-name>
<welcome-file-list><welcome-file>index.jsp</welcome-file></welcome-file-list>
<security-constraint>
<web-resource-collection>
<web-resource-name>TestSoft</web-resource-name>
<url-pattern>/auth/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>user</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>TestSoft</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/loginerror.jsp</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>user</role-name>
</security-role>
</web-app>
ma eclipse mi ritorna il seguente errore :
Attribute name "ver" associated with an element type "web-app" must be followed by the ' = ' character.
Cosa diavolo sto sbagliando ?