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.
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.
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.
hehe, tell that to ATG