• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

request-scoped beans

 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good news, thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic