[
https://issues.apache.org/jira/browse/WW-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822192#comment-15822192
]
Lukasz Lenart commented on WW-4733:
-----------------------------------
It isn't defined in a file, it's a developer's choice when developing a new
result type
https://github.com/apache/struts/blob/master/core/src/main/java/org/apache/struts2/result/StrutsResultSupport.java#L124
> No default parameter defined for result [json] of type
> [org.apache.struts2.json.JSONResult]
> -------------------------------------------------------------------------------------------
>
> Key: WW-4733
> URL: https://issues.apache.org/jira/browse/WW-4733
> Project: Struts 2
> Issue Type: Bug
> Components: Core, Plugin - JSON
> Affects Versions: 2.5.8
> Environment: jdk7, tomcat 7
> Reporter: COMBEAU
> Assignee: Lukasz Lenart
> Fix For: 2.5.next
>
> Attachments: struts-external.xml, struts.xml
>
>
> When I start my Struts2 app I see this warning :
> {noformat}
> 22:30:33 WARN
> [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults]
> - No default parameter defined for result [json] of type
> [org.apache.struts2.json.JSONResult]
> {noformat}
> I can't find any information about that in the documentation.
> What am I doing wrong in my struts config file ?
> In my app I use configuration by annotation and by xml.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)