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

[jira] Updated: (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 ]

James Holmes updated WW-2752:
-----------------------------

    Fix Version/s: 2.1.3

> 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.