File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Data flow from Bean 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 flow from Bean to Jsp" Watch "Data flow from Bean to Jsp" New topic

Data flow from Bean to Jsp

Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
In this Diagram, If any data retrived from database that will be stored in . How that will be returned to jsp(view).
The DAO implementation will be in hibernate, there we write only queries to retrieve the data or any other.

[Thumbnail for Project  Architecture1.jpg]

Dawn Charangat
Ranch Hand

Joined: Apr 26, 2007
Posts: 249
Populate the file corresponding to the view that you need to display, with values fetched from the database.
ie: copy values from to, and the values will thus be available for the view to render.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Check the Struts documentation.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Data flow from Bean to Jsp
It's not a secret anymore!