You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2008/12/08 23:18:36 UTC

[jira] Resolved: (WW-2752) Freemarker result for the s:action control tag does not search the classpath

     [ https://issues.apache.org/struts/browse/WW-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2752.
---------------------------------

    Resolution: Fixed

Fixed in  FreemarkerResult javadocs

> Freemarker result for the s:action control tag does not search the classpath
> ----------------------------------------------------------------------------
>
>                 Key: WW-2752
>                 URL: https://issues.apache.org/struts/browse/WW-2752
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Tamas Ruff
>            Assignee: Adi Baron
>             Fix For: 2.1.3
>
>
> On the following link http://struts.apache.org/2.x/docs/freemarker-result.html one can see that the Freemarker template loaders search the web context (if the path begins with a /) or the classpath otherwise for loading the templates. It works nice for "normal" actions. But if I configure a freemarker result for an action tag (s:action) then if the path specified in the result (in struts.xml) starts without / then - according to the error message I got - it tries to find the template relative to the page the action tag is embedded into, and does not search the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.