Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

howto i use javabean to create table for db's data  RSS feed

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, good day , i new to web application development , and i have try using normal class to generate table for the database's data, here below as my sample code



after that , i call it in jsp by using something like following scriptlet



my question is how to i make this into javabeans(setter/getter method) to generate the same function..anyone can share me some idea or sample code to generate table using javabeans ?

thank you very much for your time!
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alvin, i think you should look at some sample javabeans first.
go for some "using javabeans" examples.

a sample javabean.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!