Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/05/2009, 08:39
Pelirr
 
Fecha de Ingreso: diciembre-2008
Mensajes: 233
Antigüedad: 15 años, 4 meses
Puntos: 1
error en jsp por struts

Hola, tengo una página jsp:

<%@ page contentType="text/html; charset=utf-8" %>


<%@taglib uri="strutsBean" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-form.tld" prefix="form"%>
<form:form action="registro.do"><br>
Nombre de usuario:<form:text property="username"/><br>
Contraseña:<form:password property="password1"/><br>
Confirmación de contraseña:<form:password property="password2"/><br>
<form:submit value="Registro"/>
</form:form>

y algo debe estar mal porque me sale el siguiente error:

Cannot find the tag library descriptor for ...

tengo varias librerías en mi directorio /WEB-INF/lib de la aplicación war, no sé si el problema es que me falta alguna.
Por si acaso este es mi web.xml:

<?xml version="1.0" encoding="UTF-8"?>

<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

<jsp-config>
<taglib>
<taglib-uri>strutsBean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>strutsHtml</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>strutsLogic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
</jsp-config>

<display-name>PruebaOsiris.war</display-name>

<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<!-- com.empresa.aplicacion.ApplicationResources es la localizacion del archivo ".properties"
del idioma principal de la aplicacion -->
<init-param>
<param-name>application</param-name>
<param-value>com.empresa.aplication.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>

<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
¿Puede alguien echarme un cable? Muchas gracias, un saludo