You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Leonel <ln...@gmail.com> on 2006/06/15 00:55:04 UTC
Template tool
Hello
What's the simplest template engine or tool to use with tomcat servlets ??
thanks
Leonel
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Template tool
Posted by David Smith <dn...@cornell.edu>.
Freemarker can. Very versitile for both web output as well as email and
other templating purposes.
--David
Leonel wrote:
> On 6/14/06, MW Janssen <ma...@bedrijven.nl> wrote:
>
>> i use velocity..
>>
>> Maarten
>>
>>
>
> thanks
>
> does it can handle templates from String or has to be
> templates on file
>
> thanks again
>
>
> leonel
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Template tool
Posted by "Sanjeev Kumar Bhat, Noida" <sk...@hcl.in>.
You can also have your templates in a database. There is a way to tell the velocity engine to load templates from a database.
________________________________
From: Michael Rimov [mailto:rimovm@centercomp.com]
Sent: Thu 6/15/2006 5:08 AM
To: 'Tomcat Users List'
Subject: RE: Template tool
> does it can handle templates from String or has to be templates on
> file
Nope, will work with a file. Be aware of XSS (Cross Site Scripting) when
dealing with velocity, but that's about the only caveat.
Here's the hello world example:
http://jakarta.apache.org/velocity/docs/user-guide.html#Hello%20Velocity%20W
orld!
HTH!
-Mike
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Template tool
Posted by GB Developer <gb...@globallyboundless.com>.
Velocity can do 'templates as Strings'.
> -----Original Message-----
> From: Michael Rimov [mailto:rimovm@centercomp.com]
> Sent: Wednesday, June 14, 2006 6:38 PM
> To: 'Tomcat Users List'
> Subject: RE: Template tool
>
>
>
> > does it can handle templates from String or has to
> be templates on
> > file
>
> Nope, will work with a file.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Template tool
Posted by Michael Rimov <ri...@centercomp.com>.
> does it can handle templates from String or has to be templates on
> file
Nope, will work with a file. Be aware of XSS (Cross Site Scripting) when
dealing with velocity, but that's about the only caveat.
Here's the hello world example:
http://jakarta.apache.org/velocity/docs/user-guide.html#Hello%20Velocity%20W
orld!
HTH!
-Mike
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Template tool
Posted by Leonel <ln...@gmail.com>.
On 6/14/06, MW Janssen <ma...@bedrijven.nl> wrote:
> i use velocity..
>
> Maarten
>
>
thanks
does it can handle templates from String or has to be templates on file
thanks again
leonel
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Template tool
Posted by MW Janssen <ma...@bedrijven.nl>.
i use velocity..
Maarten
-----Oorspronkelijk bericht-----
Van: Leonel [mailto:lnunez@gmail.com]
Verzonden: donderdag 15 juni 2006 0:55
Aan: users@tomcat.apache.org
Onderwerp: Template tool
Hello
What's the simplest template engine or tool to use with tomcat servlets ??
thanks
Leonel
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.4/363 - Release Date: 13-6-2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.4/363 - Release Date: 13-6-2006
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org