You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Doug Pham <do...@yahoo.com> on 2008/06/22 12:11:13 UTC

Using Struts2 Template

Hi All,
     Do I have to include anything special to use the Freemarker templates?

Thanks,
Doug



      

Re: Using Struts2 Template

Posted by Dave Newton <ne...@yahoo.com>.
--- On Sun, 6/22/08, Doug Pham <do...@yahoo.com> wrote:
> Do you have to add anything to the web.xml file or
> what libraries to include.

I still don't know what templates you're talking about, so I don't know.

S2 is already dependent on FreeMarker; you don't need to do anything special other than make sure FreeMarker and its dependencies end up deployed.

If you're talking about FreeMarker results, read the FreeMarker result type docs.

http://struts.apache.org/2.0.11.1/docs/freemarker-result.html

> If I am using Sitemesh, anything different I have to do?

Yes, read the docs about the SiteMesh plugin docs and do what it says.

http://struts.apache.org/2.0.11.1/docs/sitemesh-plugin.html

Dave


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


Re: Using Struts2 Template

Posted by Doug Pham <do...@yahoo.com>.
Dave,
     Do you have to add anything to the web.xml file or what libraries to include.  If I am using Sitemesh, anything different I have to do?

Doug Pham

--- On Sun, 6/22/08, Dave Newton <ne...@yahoo.com> wrote:
From: Dave Newton <ne...@yahoo.com>
Subject: Re: Using Struts2 Template
To: "Struts Users Mailing List" <us...@struts.apache.org>
Date: Sunday, June 22, 2008, 7:29 AM

--- On Sun, 6/22/08, Doug Pham <do...@yahoo.com> wrote:
> Do I have to include anything special to use the Freemarker templates?

"The" FreeMarker templates? Do you mean FreeMarker results? If so,
no. If not, not sure what you mean.

Dave


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


      

Re: Using Struts2 Template

Posted by Dave Newton <ne...@yahoo.com>.
--- On Sun, 6/22/08, Doug Pham <do...@yahoo.com> wrote:
> Do I have to include anything special to use the Freemarker templates?

"The" FreeMarker templates? Do you mean FreeMarker results? If so, no. If not, not sure what you mean.

Dave


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