struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Nenning (JIRA)" <>
Subject [jira] [Created] (WW-4632) SMI cannot be disabled
Date Mon, 09 May 2016 08:33:12 GMT
Christoph Nenning created WW-4632:

             Summary: SMI cannot be disabled
                 Key: WW-4632
             Project: Struts 2
          Issue Type: Bug
          Components: Core Actions
    Affects Versions: 2.5
            Reporter: Christoph Nenning
            Priority: Minor

My app uses json plugin and my root-package extends {{json-default}}. When I specify {{strict-method-invocation="false"}}
on my root-package it is not possible to access any methods. I get exceptions like this:

com.opensymphony.xwork2.config.ConfigurationException: This method: login for action login
is not allowed!
	at com.opensymphony.xwork2.DefaultActionProxy.prepare( ~[struts2-core-2.5.jar:2.5]
	at org.apache.struts2.factory.StrutsActionProxy.prepare( ~[struts2-core-2.5.jar:2.5]
	at org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(
	at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(
	at org.apache.struts2.dispatcher.Dispatcher.serviceAction( [struts2-core-2.5.jar:2.5]
	at org.apache.struts2.dispatcher.ExecuteOperations.executeAction(
	at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(

When I specify {{allowed methods}} (in xml or with annotations) I can access those.

This message was sent by Atlassian JIRA

View raw message