aspose file tools
The moose likes JSF and the fly likes Backing bean getting instantiated repeatedly Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Backing bean getting instantiated repeatedly" Watch "Backing bean getting instantiated repeatedly" New topic
Author

Backing bean getting instantiated repeatedly

Chris Voge
Ranch Hand

Joined: Jul 25, 2005
Posts: 34
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
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14487
    
    7

What scope did you define the bean in? For page and request scopes, it <i>should</i> create a new bean!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Backing bean getting instantiated repeatedly
 
Similar Threads
InitializeInjectedBeanAtStartup
Help-populate object before form is loaded but before it's submitted
Backing Bean and Managed Bean
Very basic problem-where should the action method will be in?
JSTL to retrieve and pass request objects