Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSP - pass a parameter within a href tag

843840Feb 16 2009 — edited Feb 16 2009
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 16 2009
Added on Feb 16 2009
3 comments
2,175 views