Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

beans

 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it ok to have a 2 or more view bean at the same time?
for ex. I have a jsp page w/ 2 include pages...
that included pages has its own view beans...
is that ok or will they conflict if the other one's scope is
'session' while the other one is only 'request'
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As long as each id is unique within its scope, you can have as many beans as makes sense.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic