Questions tagged [scope-strategy]

The scoping strategy interface that allows to plug into Struts 2 framework a custom implementations of request, session, and wizard scopes.

The scoping strategy interface that allows to plug into Struts 2 framework a custom implementations of request, session, and wizard scopes.

The javadoc: http://struts.apache.org/release/2.3.x/xwork-core/apidocs/com/opensymphony/xwork2/inject/Scope.Strategy.html

3 questions
2
votes
1 answer

Struts2 - Is this a great strategy for a "MVC" framework?

Im using JSF time ago, and i see that the concept of MODEL is really important there. Here, on struts2, i see that this concept is a bit obsolete. For example, seems that is impossible to set a Bean session scoped; instead i need to put the whole…
markzzz
  • 47,390
  • 120
  • 299
  • 507
2
votes
2 answers

Every Struts2 action I target fails

Struts2 Scope Plugin is no longer compatible with the latest version of Struts2-core (e.g. 2.3.15). What is the successor of the Struts2 Scope Plugin? Struts2 Conversation Scope Plugin? What is the migration effort? Experience?
feder
  • 1,775
  • 5
  • 25
  • 36
-2
votes
2 answers

Dependency Injection in Struts2 Accessing Session Scoped Beans

Recently I needed to use DI in Struts2. I know it uses it's own DI implementation like Guice but not Guice, as far as I couldn't find some annotations suitable to set the scope for injected beans. To be short, I created a…
Roman C
  • 49,761
  • 33
  • 66
  • 176