Meaningless Drivel is fun!*
The moose likes JSF and the fly likes managed bean scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "managed bean scope" Watch "managed bean scope" New topic
Author

managed bean scope

Abhijeet Vaidya
Greenhorn

Joined: Apr 16, 2007
Posts: 20
Hi,

When I keep scope of my managed bean as session, everything works fine but the moment I change it to request, error page is displayed. There is no error / exception in the server log. When I checked boot.log file , somewhere I found the first 2 lines & then it forwards control to error.jsp -

20:23:13,934 DEBUG [JspStateManagerImpl] Exiting restoreTreeStructure - No serialized view found in server session!
20:23:13,934 DEBUG [LifecycleImpl] exiting from lifecycle.execute in RESTORE_VIEW(1) because getRenderResponse is true from one of the after listeners
20:23:13,934 DEBUG [ApplicationDispatcher] servletPath=/pages/error.jsp, pathInfo=null, queryString=null, name=null


I just can not understand what is wrong in it.


Thanks,
Abhijeet
Ganesha Kumar
Ranch Hand

Joined: May 04, 2006
Posts: 56
Can you please tell me for which component you are using the managed bean. If possible post your JSP page.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: managed bean scope
 
Similar Threads
Using the rendered attribute nulls my value related backing bean variable.
How get session mb in POJO?
Weired Problem with JSF TLD on Tomcat
JSF drop down.
FacesContext is null inside managed bean