I have created the html page,on which login is provided i had search it on mysql using .jsp file, and got resultset. From that resultset i want to send login id to another page through jsp (and that html page will be loaded and will have that login id.)
Asked
Active
Viewed 127 times
1 Answers
0
Here you can do
<%
while (rs.next()) {
%>
//Create you html here
<div>
<%=rs.getString(1)%>
</div>
//Html ends here
<%
}
%>
And refer this also How do I make a Java ResultSet available in my jsp? for proper MVC structure.

Community
- 1
- 1

Suresh Atta
- 120,458
- 37
- 198
- 307