Argh, there is always something else...web.xml

13. In web.xml, change
    <filter>
        <filter-name>webwork</filter-name>
       
<filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
    </filter>
    to
    <filter>
        <filter-name>struts</filter-name>
       
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
    </filter>

    change
    <filter-mapping>
        <filter-name>webwork</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    to
    <filter-mapping>
        <filter-name>struts</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

    Remove this: 
    <servlet>
        <servlet-name>action</servlet-name>
       
<servlet-class>org.apache.struts2.dispatcher.ServletDispatcher</servlet-class>
        <load-on-startup>2</load-on-startup>
    </servlet>

    Remove this:
    <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.html</url-pattern>
    </servlet-mapping>

-- 
View this message in context: 
http://www.nabble.com/appfuse-1.9.4-webwork-migration-to-struts2-tf2761053s2369.html#a7698021
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to