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!

Passing values to JSP using HTML

843840Aug 17 2007 — edited Aug 17 2007
I have 2 jsp�s (First.jsp, second.jsp).
I have one a:href on First.jsp where it goes to Second.jsp , and also it needs to take some ID values from First.jsp to Second.jsp.

Below is my code (First.jsp):
<h:inputHidden id =�employeeId� value = �#{employee.employeeID}�
<h:inputHidden id =�applicationId� value = �#{employee.appliationID}�
Below iy my href:
<a href = �/jsp/Second.jsp� > Add Application </a>

How can I send values of employeeId and applicationID to Second.jsp , on clicking Add Application on first.jsp
Any suggestions
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 14 2007
Added on Aug 17 2007
1 comment
77 views