Ooops, Sorry about that ...Monday -----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 2:29 PM To: Maven Users List Subject: Re: Struts[2] scope = prototype
You realize this is the Maven Users list right, and not Spring Users... Wayne On 10/30/06, Don Brown <[EMAIL PROTECTED]> wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
