This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
How to retrieve the first record in a database table
String Vs StringBuffer
JSP - Tomcat related issue
JSP synchronization
Redisplay form data and error messages in JSP after validation