I am havign trouble understanding how to call a string that was queried with the sql in my jsp.
I have a result set
[CODE=java]<%
while (rs.next()) {
String test = rs.getString("u ser");
out.println(tes t);
}
%>
[/CODE]
and the string can be printed here how ever I need to call the "test" string in jsp some jsp code further down the page and it can not see the string variable is there a way to pass the queried string into the jsp? Sorry Im not a big JSP coder so Im just trying to get it working. thanks
I have a result set
[CODE=java]<%
while (rs.next()) {
String test = rs.getString("u ser");
out.println(tes t);
}
%>
[/CODE]
and the string can be printed here how ever I need to call the "test" string in jsp some jsp code further down the page and it can not see the string variable is there a way to pass the queried string into the jsp? Sorry Im not a big JSP coder so Im just trying to get it working. thanks
Comment