How to send resultset.getInt(1)
this value to another jsp page ,I am trying this but not working.
<td><a href="result.jsp?Id="+<%=resultset.getInt(1)%> ><%= resultset.getInt(1) %></a></td>
result.jsp
<%
String ss =request.getParameter("Id");
System.out.println("my value" + ss);
%>
I m getting ""
in result.jsp
.
Try this:
<td>
<a href=<%= "\"result.jsp?Id=" + resultset.getInt(1) + "\"" %> ><%= resultset.getInt(1) %></a>
</td>
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments