Java Mailing List Archive

http://www.junlu.com/

Home » FreeMarker-user »

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

Daniel Dekany

2012-01-27

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!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
FreeMarker-user mailing list
FreeMarker-user@(protected)
https://lists.sourceforge.net/lists/listinfo/freemarker-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.