• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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

 
Ranch Hand
Posts: 175
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!