Java Mailing List Archive

Home » FreeMarker-user »

Re: [FreeMarker-user] getting context param or servlet init params

Daniel Dekany


Replies: Find Java Web Hosting

Author LoginPost Reply
Thursday, January 26, 2012, 8:43:14 PM, Fırat KÜÇÜK wrote:

> Hi,
> i want to get context params or servlet init params.
> I am using spring. I cannot find a simple way to get this
> configuration parameters.
> Is there any special variable for this operation.

FreeMarker itself has nothing like that as it's Servlet-independent.
If Spring doesn't expose such things to FreeMarker... then maybe you
should put them into the data-model.

Best regards,
Daniel Dekany

Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
FreeMarker-user mailing list
©2008 - Jax Systems, LLC, U.S.A.