struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tamas Ruff (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-2752) Freemarker result for the s:action control tag does not search the classpath
Date Thu, 07 Aug 2008 11:44:25 GMT
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: Core Actions
            Reporter: Tamas Ruff


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.


Mime
View raw message