JHTML Tricks
by Frank Kim on Aug.25, 2005, under Page Development
Putting parameters in the link.
Using back quotes you can embed Java code to extract the parameters and place them in the link. For example:
<a href="/foo.jhtml?`request.getParameter("bar")`">example</a>
To learn more, Using Back Quotes.
Related posts:
February 18th, 2008 on 12:48 PM
Although you need to be VERY careful to avoid XSS issues doing something like this. Any request.getParameter call which outputs into the HTML should be property escaped.
January 27th, 2009 on 11:52 AM
hehe, tell that to ATG