struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: Does Struts 2 support loading FreeMarker templates from a remote server?
Date Tue, 08 Apr 2008 23:21:17 GMT
I think you would have to add a template loader
FreemarkerManager:getTemplateLoader

musachy

On Tue, Apr 8, 2008 at 11:14 PM, mraible <matt@raibledesigns.com> wrote:
>
>  I'll take that as a "no". FWIW, Spring MVC supports this - allowing you to
>  use its underlying Resources API to load from a remote server via http, ftp,
>  etc. It also supports loading from a remote JAR, which is pretty cool IMO.
>
>  How hard would it be to add this functionality to Struts 2?
>
>  Matt
>
>
>
>
>  mraible wrote:
>  >
>  > According to the following page, Struts 2 supports loading FreeMarker
>  > templates from the webapp or classpath:
>  >
>  > http://struts.apache.org/2.x/docs/freemarker.html
>  >
>  > However, it doesn't appear to support loading them from a remote
>  > server (i.e. http://localhost/freemarker). Is this a limitation of
>  > Struts 2's FreeMarker support?
>  >
>  > Thanks,
>  >
>  > Matt
>  >
>  > --
>  > http://raibledesigns.com
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>  > For additional commands, e-mail: dev-help@struts.apache.org
>  >
>  >
>  >
>
>  --
>  View this message in context: http://www.nabble.com/Does-Struts-2-support-loading-FreeMarker-templates-from-a-remote-server--tp16573018p16576056.html
>  Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>  For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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


Mime
View raw message