On 8/22/06, Baker,Jonathan <[EMAIL PROTECTED]> wrote:

Sorry to waste everyone's time.  I of course missed a critical step from
the Spring 2.0 documentation.  In order to enable the special scopes
(everything other than prototype/singleton) A listener or a filter
(depending on your serlevt spec) needs to be added to your web.xml

2.4
<listener>

<listener-class>org.springframework.web.context.request.RequestContextLi
stener</listener-class>
</listener>

Or

2.3
<filter>
        <filter-name>requestContextFilter</filter-name>

<filter-class>org.springframework.web.filter.RequestContextFilter</filte
r-class>
</filter>
<filter-mapping>
        <filter-name>requestContextFilter</filter-name>
        <url-pattern>/*</url-pattern>
</filter-mapping>


Once I added the listener, my beans were placed into session scope as
requested.


Cool!  Glad to hear that it works.


JB


Craig

Reply via email to