wood burning stoves 2.0*
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 bean.java . 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 Form.java file corresponding to the view that you need to display, with values fetched from the database.
ie: copy values from Bean.java to Form.java, and the values will thus be available for the view to render.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

Check the Struts documentation.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link: http://aspose.com/file-tools
subject: Data flow from Bean to Jsp
Similar Threads
How to hide the Jsp page name?
How to store an image from a jsp page to Database
data mixup for two responses
How to open excel file ?