Results 1 to 1 of 1
- 09-28-2007, 12:46 PM #1
How to use request Scope in Spring
This tip will show to use request scope in spring.
With the above bean definition the Spring container will create a brand new instance of the SampleAction bean using the 'sampleAction' bean definition for each and every HTTP request. That is, the 'sampleAction' bean scoped at the HTTP request level in web application.Java Code:<bean id="sampleAction" class="org.compchamps.SampleAction" scope="request"/>
Similar Threads
-
Defining global session scope in Spring framework
By Java Tip in forum Java TipReplies: 0Last Post: 03-31-2008, 10:08 AM -
How to use session scope in Spring
By Java Tip in forum Java TipReplies: 0Last Post: 03-31-2008, 10:07 AM -
How to use request Scope in Spring
By Java Tip in forum Java TipReplies: 0Last Post: 03-31-2008, 10:06 AM -
Defining global session scope in spring framework
By JavaBean in forum Java TipReplies: 0Last Post: 09-28-2007, 12:47 PM -
How to use session scope in Spring
By JavaBean in forum Java TipReplies: 0Last Post: 09-28-2007, 12:47 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks