'string variable as URL to an anchor tag in a JSP

Is it possible to pass a string variable as URL to an anchor tag in a JSP which should get redirected to an external website? I am manipulating the the URL String to add parameters obtained from the bean passed to the JSP.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source