Re: getting context param or servlet init params (spring)

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.