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 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Data flow from Bean to Jsp" Watch "Data flow from Bean to Jsp" New topic
Author

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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
data mixup for two responses
How to hide the Jsp page name?
How to open excel file ?
PDF
How to store an image from a jsp page to Database