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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Struts2 session bean and Container.setScopeStrategy exception
 
Similar Threads
Null Pointer Exception using DAO, Hibernate and Struts
Filter execution threw an exception
Error while deploying a war file in GlassFish
Trying to run portals in action JSF 2.0 example in liferay on glassfish
problem with starting Struts2