This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

request-scoped beans

 
Ranch Hand
Posts: 230
  • 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.
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good news, thanks!
    Bookmark Topic Watch Topic
  • New Topic