Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/09/2012, 04:53
asego
 
Fecha de Ingreso: marzo-2011
Mensajes: 19
Antigüedad: 13 años, 1 mes
Puntos: 0
Respuesta: error ejecutando Struts2

Buenas aqui os adjunto mi struts.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>
<constant name="struts.devMode" value="false" />
<constant name="struts.configuration.xml.reload" value="true" />
<package name="demo-struts" extends="struts-default">
<action name="index">
<result name="success">/index.jsp</result>
</action>
</package>
</struts


He probado a poner el devMode a false, y me sigue saliendo el mismo error.

Tambien os adjunto el web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>Struts2XML</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.Stru tsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app


Muchas gracias por vuestra ayuda.