[
https://issues.apache.org/struts/browse/WW-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Holmes reassigned WW-2011:
--------------------------------
Assignee: James Holmes
> Struts result are not parsed by default
> ---------------------------------------
>
> Key: WW-2011
> URL: https://issues.apache.org/struts/browse/WW-2011
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.9
> Environment: Java 6, Tomcat 5.0, TilesResult
> Reporter: Lukasz Racon
> Assignee: James Holmes
>
> Javadoc says that StrutsResultSupport should set parse to true by default.
> While the StrutsResultSupport constructor that takes location string sets
> parse to false:
> --- src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java
> (revision 549497)
> +++ src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java
> (working copy)
> @@ -117,7 +117,7 @@
> }
> public StrutsResultSupport(String location) {
> - this(location, false, false);
> + this(location, true, false);
> }
> public StrutsResultSupport(String location, boolean parse, boolean
> encode) {...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.