Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Check box in struts framework?

 
xiaoma wang
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all:
I am in a project and using struts framework. What confused me is how to transfer data from database to checkbox on the jsp page. Anyone know how to do it?
Thanks in advance!
Xiaoma Wang
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have forum dedicated to Frameworks, including Struts. I will move this there for you.
 
David Yutzy
tumbleweed and gunslinger
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're returning "Y" or "N" from the database to a simple String property, which is displayed using the Struts html:checkbox tag.
 
xiaoma wang
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David. I will try today!
Xiaoma Wang
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic