Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to retive data in struts from database

 
sam dims
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends I am very new to struts , i can insert value in database mysql, but dont know how to retrieve data from database and show it in jsp
if you have code it will be very helpful to me or give me a steps to do it....


thanks & regards,
Sam
 
Nishnt Rayn
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMHO struts should not be used for accessing databases. Tie up hibernate in struts action class perhaps using spring. I think its good to have struts and hibernate as far apart as possible with your domain objects in between.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question isn't related directly to Struts: it's a general Java/DB issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic