JSP - pass a parameter within a href tag
843840Feb 16 2009 — edited Feb 16 2009Hi everyone,
I am new here. I would like to pass a parameter from one jsp to another - when a user clicks on a <a href> link.
The parameter will be in a variable retrieved from a database
<a href="http://localhost:8080/jay/questions.jsp? <%= variable %>">Click Here</a>
Could someone square me up on the exact syntax please of where to put paramName, quotations and how to call it back up in the next jsp?
Many thanks,
Jay