aspose file tools*
The moose likes Struts and the fly likes Struts2 session bean and Container.setScopeStrategy exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 session bean and Container.setScopeStrategy exception" Watch "Struts2 session bean and Container.setScopeStrategy exception" New topic
Author

Struts2 session bean and Container.setScopeStrategy exception

Bob Dietrich
Greenhorn

Joined: Sep 02, 2010
Posts: 3
I'm using Struts2 and the built-in dependency injection. I have a bean defined in struts.xml:This POJO bean is currently injected into an action class via:

I then tried to make sure the bean contents persisted for the session, so I modified the declaration:Now when the code starts up, I get the following exception:
At this point I'm thoroughly confused by the error message, including what "Container" is referenced. Suggestions please? Thanks.
Bob Dietrich
Greenhorn

Joined: Sep 02, 2010
Posts: 3
Any suggestions please?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 session bean and Container.setScopeStrategy exception