Return to Snippet

Revision: 4012
at October 16, 2007 03:31 by arunpjohny


Initial Code
/*
*To get access to Request Parameters use one of the following syntaxes where test is the request property
*/
${RequestParameters['test']}
or 
${RequestParameters.test}

/*
*to get access to Request Attributes use one of the following where test is the request attribute
*/
${Request['test']}
or 
${Request.test}

Initial URL
http://forum.springframework.org/showthread.php?t=32846

Initial Description
The Request and RequestParameters are two Hashes provided by freemarker, it will be available in all templates

Initial Title
Getting HTTP Request properties and attributes in freemarker template

Initial Tags

                                

Initial Language
Other