Ver Mensaje Individual
  #7 (permalink)  
Antiguo 02/11/2011, 12:55
Snoopy1413
 
Fecha de Ingreso: febrero-2011
Mensajes: 55
Antigüedad: 13 años, 2 meses
Puntos: 4
Respuesta: no consigo hacer funcionar struts2

Código PHP:
<?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>Proyecto01</display-name>
  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>
  <!-- Configuración de Struts2 -->
  <filter>
        <filter-name>struts2</filter-name>
        <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
        <init-param>
            <param-name>actionPackages</param-name>
            <param-value>AQUI EL PAQUETE DE TUS ACTIONS DIRECCION</param-value>
<!-- 
EJEMPLO:
    <param-value>mipaquete.java.action</param-value>

-->
        </init-param>
   </filter>
   <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>/*</url-pattern>
   </filter-mapping>
</web-app>
- te paso el mio aver si te funciona....
- intenta que el archivo strut2.xml no tenga nada de mayusculas que suelen ser los errores mas comunes... mejor dicho que tus archivos de configuracion no tenga nada de mayusculas