Hi,
This is the definition in xml file, spring reads through ApplicationContext.
<bean id="simpleAction" class="com.sapient.SimpleAction"/>
Here, since scope is not defined, it's scope will be singleton.
In SimpleAction java class, using annotations, it is defined here as well:
@Component
@Scope("prototype")
Do the SimpleAction bean get prototype scope, mentioned in java file ?
Thanks,
Shashi