Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connectivity

 
AJKC Shekhawat
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you guide me how to fetch data from the database into the field of my form.
 
Sunesh Kumar
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

First of all amy i know the requirement of yours.

to the get the data you can directly use
<%=resultsetobj.getXXX()%> like this for example to get the value into a textbox

<input type=text name="something" value="<%=resultsetobj.getXXX() %>" >

Bye
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic