struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Racon (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-2011) Struts result are not parsed by default
Date Fri, 22 Jun 2007 19:40:27 GMT
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


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.


Mime
View raw message