Hi,
Im trying to modify user information on my site.for this im using java and jsp.when the user enters id,his info stored in db is to be retrieved and displayed in corresponding textboxes.
I know how to access db but dont know how to put the value retrieved into textboxes then edit if desired..and then store back..can you help?..thx

suppose u want to put value of strText in to textbox
then u can do as:
//in jsp
String strRsp="<input type='text' value='"+strText+"' name='txt1'/>";

print strRsp string as response string.

and then store back..

to store value u have to use form and form submit event.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.