[
https://issues.apache.org/jira/browse/WW-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781704#comment-13781704
]
Greg Huber commented on WW-4212:
--------------------------------
It seems the 404 is not thrown by struts, but by the container (ie tomcat for
me) from the web.xml.
<error-page>
<error-code>404</error-code>
<location>/errors/404.jsp</location>
</error-page>
What ever ServletDispatcherResult does, struts seems not to be able to match a
result. I tried adding a success to my struts.xml action but this does not
work either.
http://struts.apache.org/release/2.3.x/docs/result-configuration.html does not
look like its not going to work dmi as it lacks the logic to call the method
from the action.
> Struts DMI no longer works
> --------------------------
>
> Key: WW-4212
> URL: https://issues.apache.org/jira/browse/WW-4212
> Project: Struts 2
> Issue Type: Bug
> Components: XML Configuration
> Affects Versions: 2.3.15.2
> Environment: Apache/Tomcat
> Reporter: Greg Huber
> Fix For: 2.3.15.3
>
>
> Hello,
> I have tried 2.3.15.2 and the dmi no longer works.
> In my struts.properties file I have this:
> struts.enable.DynamicMethodInvocation=true
> I ahve also tried:
> <constant name="struts.enable.DynamicMethodInvocation" value="true"/>
> in the struts.xml file
> Cheers Greg.
--
This message was sent by Atlassian JIRA
(v6.1#6144)