On Mon, Mar 3, 2008 at 8:34 AM, Jeromy Evans < [EMAIL PROTECTED]> 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 ...