Tema: struts2
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/07/2013, 10:33
yonathan90
 
Fecha de Ingreso: mayo-2013
Mensajes: 28
Antigüedad: 11 años
Puntos: 0
Respuesta: struts2

web.xml
Código XML:
Ver original
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
  4.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
  6.         version="3.1">
  7.     <filter>
  8.         <filter-name>struts2</filter-name>
  9.         <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
  10.     </filter>
  11.     <filter-mapping>
  12.         <filter-name>struts2</filter-name>
  13.         <url-pattern>/*</url-pattern>
  14.     </filter-mapping>
  15.     <session-config>
  16.         <session-timeout>
  17.             30
  18.         </session-timeout>
  19.     </session-config>
  20. </web-app>

struts.xml
Código XML:
Ver original
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
  3. <struts>
  4.    <constant name="struts.enable.DynamicMethodInvocation" value="false" />
  5.    <constant name="struts.devMode" value="false" />
  6.  
  7.    <package name="default" namespace="/" extends="struts-default">
  8.  
  9.    </package>
  10. </struts>

arquitectura
[URL="https://dl.dropboxusercontent.com/u/91390941/arquitectura.jpg"]https://dl.dropboxusercontent.com/u/91390941/arquitectura.jpg[/URL]