This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access Model's data in the View, in spring MVC?  RSS feed

 
Arun Singh Raaj
Ranch Hand
Posts: 31
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per the MVC architecture in java, Model and View can communicate with each other directly, despite going through the Controller part. Could someone please explain a sample code or scenario, how to access Model's data in View and jump to the Model directly from the View?

Thanks.
model2.jpg
[Thumbnail for model2.jpg]
MVC architecture
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!