GeeCON Prague 2014*
The moose likes Struts and the fly likes how to retive data in struts from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to retive data in struts from database" Watch "how to retive data in struts from database" New topic
Author

how to retive data in struts from database

sam dims
Greenhorn

Joined: Dec 01, 2008
Posts: 20
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

Joined: Oct 23, 2008
Posts: 14
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

Joined: Sep 29, 2008
Posts: 12617

This question isn't related directly to Struts: it's a general Java/DB issue.
 
GeeCON Prague 2014
 
subject: how to retive data in struts from database