Hi there..
I am new to the Velocity.
I am using velocity1.5. I created the following servlet..
public Template handleRequest( HttpServletRequest request,
HttpServletResponse response,
Context context ) {
Template
Sorry if this has been addressed but I have searched and cannot find the
complete answer.
Can anyone kindly point me to a tutorial or example code showing how I would
completely configure Velocity programmatically?
Specifically, I wish to configure a VelocityViewServlet with a toolbox, but
Thanks, Nathan for your fine reply! I had looked at the toolbox API and had
similar impression but hoped I was missing something.
I need to limit the scope of which tools are available when, so I probably
need ServletToolboxManager.
I wish to forego web.xml as well. I am using Jetty 6.1.1 and
Ok, to get a ServletToolboxManager, you need an empty toolbox file at
a minimum. There's no way around this with the released versions.
To do otherwise you would have to alter and re-compile VelocityTools
yourself. I'll assume for now that that's not ok with you. If it is,
then let me know,
Nathan,
Awesome explanation! Thanks so much. I am totally on track now. Best,
David
On 3/27/07, Nathan Bubna [EMAIL PROTECTED] wrote:
Ok, to get a ServletToolboxManager, you need an empty toolbox file at
a minimum. There's no way around this with the released versions.
To do otherwise you