• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to retriew Data from Java Bean

 
Ram kanana
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to get a data from Java Bean to Jsp, so that it will visible to users.
The java file connected with database and retriews data. In JSP page i call a method that return type was string. That string variable concatenate all the results with delimiter some thing like the following one...


final_res+=rs.getString(1)+","+rs.getString(2)+","+
rs.getString(3)+","+rs.getString(4)+","+rs.getString(5)+","+
phoneCount+","+spl_dist[j]+"@";

I think this was a better way or not. Can anyone tell what is the better way for this one.
 
Sunesh Kumar
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ram,

Can u clearly say what you want

Bye...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic