You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Manish <pr...@gmx.net> on 2008/07/04 08:44:33 UTC

How to access servlet context in velocity template?

How do I access the servlet context in my velocity template? I can access 
request with $request but likewise $servletContext doesn't seem to work. I 
couldn't find the references on web or in velocity tools - any pointers would be 
highly appreciated!

TIA,
- Manish 



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


Re: How to access servlet context in velocity template?

Posted by Manish <pr...@gmx.net>.
Never mind, it's referred as --> $application
Thank god fro source code! :)

- Manish


----- Original Message ----- 
From: "Manish" <pr...@gmx.net>
To: "Velocity Users List" <us...@velocity.apache.org>
Sent: Friday, July 04, 2008 12:14 PM
Subject: How to access servlet context in velocity template?


> How do I access the servlet context in my velocity template? I can access 
> request with $request but likewise $servletContext doesn't seem to work. I 
> couldn't find the references on web or in velocity tools - any pointers would 
> be highly appreciated!
>
> TIA,
> - Manish
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
> 



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