[
https://issues.apache.org/jira/browse/WW-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821884#comment-15821884
]
Lukasz Lenart commented on WW-4733:
-----------------------------------
A pram used when no param was defined, e.g. {{<result
name="success">/WEB-INF/index.jsp</result>}} in this case {{location}} will be
used as it is defined as a default param, it's the same as
{code:xml}
<result name="success">
<param name="location">/WEB-INF/index.jsp</param>
</result>
{code}
> 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)