jQuery in Action, 3rd edition
The moose likes JSP and the fly likes beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "beans" Watch "beans" New topic


Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 170
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

Joined: Jan 10, 2002
Posts: 63852

As long as each id is unique within its scope, you can have as many beans as makes sense.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: beans
It's not a secret anymore!