[
https://issues.apache.org/jira/browse/WW-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781654#comment-13781654
]
Greg Huber commented on WW-4212:
--------------------------------
Hello,
Looking in the org.apache.struts2.dispatcher.mapper.ActionMapper at line 212
String actionName = cleanupActionName(name);
mapping.setName(actionName);
if (getDefaultExtension() != null) {
actionName = actionName + "." + getDefaultExtension();
}
mapping.setResult(new ServletDispatcherResult(actionName));
it seems to be these lines:
if (getDefaultExtension() != null) {
actionName = actionName + "." + getDefaultExtension();
}
mapping.setResult(new ServletDispatcherResult(actionName));
as if I comment them out it starts working again. I guess the question is now,
what do these new lines of code do?
Cheers Greg.
> 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)