Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Prototype V/S Request Scope in Spring  RSS feed

 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The prototype scope creates a new object whenever there is a new request for that object. And, request scope also creates a new object for each request for that particular request. So, what is the actual difference between the two scopes and can't we achieve the similar functionality using prototype request only??
 
Ayan mallick
Ranch Hand
Posts: 46
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out this.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!