JHTML Tricks

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:


To learn more, Using Back Quotes.

2 thoughts on “JHTML Tricks

  1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *