aspose file tools
The moose likes Struts and the fly likes data  from DB to DAO to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "data  from DB to DAO to jsp" Watch "data  from DB to DAO to jsp" New topic

data from DB to DAO to jsp

prasanna pati
Ranch Hand

Joined: Jan 29, 2005
Posts: 46
In struts based projects , a data-access-object has the direct connection with the database . but which class accesses the DAO ?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31634

The DAO should be called by the Action or a wrapper class that the Action calls.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: data from DB to DAO to jsp