File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes How to retriew Data from Java Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to retriew Data from Java Bean" Watch "How to retriew Data from Java Bean" New topic
Author

How to retriew Data from Java Bean

Ram kanana
Ranch Hand

Joined: Apr 13, 2006
Posts: 34
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

Joined: Oct 17, 2005
Posts: 89
Hi Ram,

Can u clearly say what you want

Bye...


Thanks & Regards<br />Sunesh Kumar Baachu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to retriew Data from Java Bean