Win a 3 month subscription to Marco Behler Videos this week in the Spring 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
Greenhorn
Posts: 15
  • 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!