This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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!