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

Backing bean getting instantiated repeatedly  RSS feed

 
Chris Voge
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have any of you seen your coresponding backing bean get instantiated over and over again. I have SYSTEM.OUT.PRINLN's in my constructor and I see them repeatedly. I'm just going from one jsp to another by clicking a button. It's strange.

Let me know.

Thanks

Chris.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What scope did you define the bean in? For page and request scopes, it <i>should</i> create a new bean!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!