Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

request-scoped beans

 
John Eric Hamacher
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:

As will become evident, I am fairly new to Spring. My question is about request-scoped beans. We are using Spring together with Struts 2, that is to say, we are not using any Spring web technology like MVC or Web Flow. WE are using the spring plug-in which comes with Struts. Will the request scope on beans still be respected/recognized? Even if we're allowing Spring to create Struts objects?

Thanks.

eric.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Eric Hamacher wrote:Hello:

As will become evident, I am fairly new to Spring. My question is about request-scoped beans. We are using Spring together with Struts 2, that is to say, we are not using any Spring web technology like MVC or Web Flow. WE are using the spring plug-in which comes with Struts. Will the request scope on beans still be respected/recognized? Even if we're allowing Spring to create Struts objects?

Thanks.

eric.


Yes it will be used. The Request scope requirement is only that you are in a web environment, using Spring MVC, Struts, Straight Servlets all work.

Mark
 
John Eric Hamacher
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good news, thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic