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.