This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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!