struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frans Thamura" <fr...@meruvian.org>
Subject Re: Putting Template inside .jar
Date Mon, 03 Mar 2008 01:38:09 GMT
On Mon, Mar 3, 2008 at 8:34 AM, Jeromy Evans <
jeromy.evans@blueskyminds.com.au> wrote:

> The Struts FreemarkerResult and Struts 2 tags explicitly access a
> Freemarker template engine that's setup via the Struts container.
>
> Your example below references the FreemarkerServlet provided by
> Freemarker that's an distinct instance of the template engine.
> You don't require the FreemarkerServlet to serve Freemarker pages via
> Struts.  You can use it to serve Freemarker pages directly (without
> struts).
>
> You can use both at the same time, just note that they're separate.
> There's no glue AFAIK.
>
> (Although as you're using spring you may be get them to both use the
> same bean, but I'm not sure about that).
>

 do this mean that struts2 automatically search template, when the template
is not in the /web-inf/view , the struts2 will search in the classpath. is
this right?

NB: i still dont know how to put in spring bean now ...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message