File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to retive data in struts from database
 
Similar Threads
Struts 1.3.5 and Data Source
Check box in struts framework?
struts database query
retrive data from oracle database using struts
struts data retrive query.............. important to me