I believe that's a Spring 2 thing. Now, you can have multiple scopes in addition to singleton and not singleton.
Don On 10/30/06, Scott Purcell <[EMAIL PROTECTED]> wrote:
In the 'equinox-struts2-hibernate-1.7' I deployed and I am running through the code trying to understand it. Anyway, there is a file called "action-servlet.xml" which is a Spring bean definition file. Within it is has this: <bean id="userAction" class="org.appfuse.web.UserAction" scope="prototype"> When I referenced my Spring in Action book, it states that all beans are singleton by default. But you can set the singleton="false" to make it a prototype. A blueprint they state. But they do not mention scope="prototype". Is this something new and the book is obsolete? Thanks,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]