In my action class i am getting a resultset data which im storing in a arraylist.
In my jsp page im retrieving the arraylist data as----->
Expand|Select|Wrap|Line Numbers
- <%publicity.PendingReqForm prfObj=null;
- ArrayList req=(ArrayList) request.getAttribute("req");
- for(Iterator it= req.iterator();it.hasNext();){
- prfObj=(PendingReqForm) it.next();{
- %>
- <li>
- <a href="pages/serview/paystep2.jsp?req_code= <%=prfObj.getReq_Code() %>"> <%=prfObj.getReq_Code() %> </a>
- </li>
- <%}
- }%>
[HTML]
<li>
<a href="pages/serview/paystep2.jsp?req_code= R10641604"> R10641604 </a>
</li>
<li>
<a href="pages/serview/paystep2.jsp?req_code= R10741604"> R10741604 </a>
</li>
<li>
<a href="pages/serview/paystep2.jsp?req_code= R11041605"> R11041605 </a>
</li>
[/HTML]
As you can see i have an anchor tag, where if i click on one of the link it, should show me the next jsp page.Fine till here, but the way i want my next jsp page to be generated is with the value R10641604(if i click on one particular link). And if i click on the 2nd link it should show for R10741604 and so on.
I m having problems to load the values in my 2nd jsp page when clicked on the link.In short i want to pass my link data in 2nd jsp page Please help me in this regard. I hope its clear.:)
regards,
ajos