This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSP and the fly likes beans Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "beans" Watch "beans" New topic
Author

beans

Nelson Nadal
Ranch Hand

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

Joined: Jan 10, 2002
Posts: 56528
    
  14

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: beans
 
Similar Threads
knock knock
Back Navigation
count od Managed Beans for page
Some questions regarding part II
Getting org.apache.jasper.JasperException in Struts2