You are correct.  Velocity was written for the MVC model.  It is
assumed that server side JAVA work will be done by a programmer using
a servlet.  The limited programming in Velocity is meant to aid
presentation logic.

Trust me; for maintenance purposes, it is immensely better to have the
programming one place and the presentation somewhere else.  This is
true even if a programmer is doing both tasks.  See the Velocity Tools
project for programs that will assist in developing a nice MVC model
web application.

Barbara Baughman
X2157

On Sat, 17 Mar 2007, hello thatsme wrote:

> Hi,
>
>   cool users guide but I have not found any mention of server side scripting: 
> How could it be possible to include in a Velocity template some java 
> instruction to be run server side. I know that MVC do not allow this 
> possibility so that's why I am wondering how to produce templates which allow 
> server side java scripting. Maybe it is not possible with Velocity ?
>
>   Cheers !
>
>
>
> ---------------------------------
>  New Yahoo! Mail is the ultimate force in competitive emailing. Find out more 
> at the Yahoo! Mail Championships. Plus: play games and win prizes.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to