You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sunil <su...@webshastra.com> on 2002/07/22 07:59:42 UTC

new velocity user

can anyone help me with instructions for running velocity templates on tomcat ..??
or kindly give some leads for the same ..
thnx
sunil


Re: new velocity user

Posted by sunil <su...@webshastra.com>.
thnx man...
think i got a good start....
cheers
sunil

----- Original Message -----
From: "Bojan Smojver" <bo...@rexursive.com>
To: "Tomcat Developers List" <to...@jakarta.apache.org>
Sent: Monday, July 22, 2002 11:55 AM
Subject: Re: new velocity user


> With pleasure :-)
>
> It's actually quite simple:
>
> - make sure Velocity JAR file is visible to your application classloader
in
> Tomcat; either put it in your own WEB-INF/lib (for singleton model) of
each app
> or in lib/apps of Tomcat distribution (for non-singleton model)
> - have a good velocity.properties file and make sure logging location
exists and
> is writeable
>
> - use VelocityServlet (supplied with Velocity) to handle requests; or
> - use any of the framework/servlets available (listed on Velocity web
site); I
> recommend PumpServlet (ftp://ftp.rexursive.com/pub/pump/pump.tar.gz) for
purely
> selfish reasons ;-)
>
> - map you servlet in web.xml to your liking
>
> - read excellent Velocity User Guide and Velocity Programmers Guide
> - ask about anything you'd like to know on Velocity user list; majority of
the
> people are very friendly and don't mind being asked questions
>
> Have fun,
> Bojan
>
> Quoting sunil <su...@webshastra.com>:
>
> >
> > can anyone help me with instructions for running velocity templates on
> > tomcat ..??
> > or kindly give some leads for the same ..
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: new velocity user

Posted by Bojan Smojver <bo...@rexursive.com>.
With pleasure :-)

It's actually quite simple:

- make sure Velocity JAR file is visible to your application classloader in
Tomcat; either put it in your own WEB-INF/lib (for singleton model) of each app
or in lib/apps of Tomcat distribution (for non-singleton model)
- have a good velocity.properties file and make sure logging location exists and
is writeable

- use VelocityServlet (supplied with Velocity) to handle requests; or
- use any of the framework/servlets available (listed on Velocity web site); I
recommend PumpServlet (ftp://ftp.rexursive.com/pub/pump/pump.tar.gz) for purely
selfish reasons ;-)

- map you servlet in web.xml to your liking

- read excellent Velocity User Guide and Velocity Programmers Guide
- ask about anything you'd like to know on Velocity user list; majority of the
people are very friendly and don't mind being asked questions

Have fun,
Bojan

Quoting sunil <su...@webshastra.com>:

> 
> can anyone help me with instructions for running velocity templates on
> tomcat ..??
> or kindly give some leads for the same ..

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>