You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "David H. DeWolf (JIRA)" <ji...@apache.org> on 2006/12/08 15:49:57 UTC

[jira] Created: (WW-1552) XSLTResult Template Cache Not Caching

XSLTResult Template Cache Not Caching
-------------------------------------

                 Key: WW-1552
                 URL: http://issues.apache.org/struts/browse/WW-1552
             Project: Struts 2
          Issue Type: Bug
          Components: Views
    Affects Versions: 2.0.1
            Reporter: David H. DeWolf
         Assigned To: David H. DeWolf


The XSLTResult currently holds a template cache which is an instance member.  Because a new result is instantiated for each request, this cache has no effect.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (WW-1552) XSLTResult Template Cache Not Caching

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/WW-1552?page=comments#action_39043 ] 
            
Don Brown commented on WW-1552:
-------------------------------

Are you sure?  The version I'm looking at has the cache a static variable for the result.

> XSLTResult Template Cache Not Caching
> -------------------------------------
>
>                 Key: WW-1552
>                 URL: http://issues.apache.org/struts/browse/WW-1552
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.1
>            Reporter: David H. DeWolf
>         Assigned To: David H. DeWolf
>
> The XSLTResult currently holds a template cache which is an instance member.  Because a new result is instantiated for each request, this cache has no effect.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (WW-1552) XSLTResult Template Cache Not Caching

Posted by "David H. DeWolf (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/WW-1552?page=all ]

David H. DeWolf resolved WW-1552.
---------------------------------

    Fix Version/s: 2.0.2
       Resolution: Fixed

Well, it was before I fixed it this morning in Revision 484626.  Just forgot to close the ticket.

> XSLTResult Template Cache Not Caching
> -------------------------------------
>
>                 Key: WW-1552
>                 URL: http://issues.apache.org/struts/browse/WW-1552
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.1
>            Reporter: David H. DeWolf
>         Assigned To: David H. DeWolf
>             Fix For: 2.0.2
>
>
> The XSLTResult currently holds a template cache which is an instance member.  Because a new result is instantiated for each request, this cache has no effect.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira