Dhyanesh
May 2nd, 2008, 07:31 PM
Hi,
I tried googling to find a way to specify scope of a bean as request or session instead of Singleton. Spring directly supports only two, Singleton or Prototype, but is there any other way to specify that the scope of the bean will be request or session? For sure, if i make it request or session, it would be a type of Prototype, but how do we handle it?
How can we define a scope of a bean as request or session?
Thanks,
Dhyanesh
I tried googling to find a way to specify scope of a bean as request or session instead of Singleton. Spring directly supports only two, Singleton or Prototype, but is there any other way to specify that the scope of the bean will be request or session? For sure, if i make it request or session, it would be a type of Prototype, but how do we handle it?
How can we define a scope of a bean as request or session?
Thanks,
Dhyanesh