struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stanlick <stanl...@gmail.com>
Subject Plug-in creation and freemarker page location
Date Thu, 16 Jul 2009 19:29:22 GMT

I am working on a plug-in and having trouble getting the runtime to find my
freemarker pages.  I have a folder named pages in my plugin.jar where my
freemarker pages reside.  My struts-plugin.xml is referring to the pages as
follows:

<result type="freemarker">/pages/config.ftl</result>

However, I am receiving a runtime

java.io.FileNotFoundException: Template /config/pages/config.ftl not found.
	at freemarker.template.Configuration.getTemplate(Configuration.java:489)

I have studied the struts2-config-browser-plugin and I'm now starting to
wonder if there is some magic with respect to the freemarker folder being
called config-browser which happens to be the same namespace of the plugin.

Does anyone know the mechanics of these names?

Peace,
Scott
-- 
View this message in context: http://www.nabble.com/Plug-in-creation-and-freemarker-page-location-tp24522925p24522925.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message