PDA

View Full Version : Print ResultSet data in textbox in JSP



adamsnative
July 28th, 2009, 02:17 PM
Hi
I am able to retrieve data from the database in the resultset object.
I am able to display it normally in the web page by using the exprission tag;-
<%while(rs.next)// rs is the result set object
{
out.println((rs.getString("field name"));
}%>

But I want to display the retrieved value in a textbox in a jsp page which i am unable to.

Please help
It will be helpful if you can provide the code snippet for that purpose
Thank you