Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data flow from Bean to Jsp

 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Project Architecture1.jpg
[Thumbnail for Project  Architecture1.jpg]
 
Dawn Charangat
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the Struts documentation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic