Hi konference

I use Struts2 + Spring.
I deployed the "Struts 2 - Maven Archetype - Starter"

In file applicationContext.xml is defined bean - helloWorldAction.

<beans>
        <!-- Example of SAF2 action instantiated by Spring -->
    <bean id="helloWorldAction"
class="cz.kibo.engine.Engine.HelloWorldAction" singleton="false" />
</beans>

I read that Struts2 expects that each action is a new instance. Therefore is
there : singleton="false"

Do I have to defined EVERY action in applicationContext.xml ?

Thanks to help

-----
Tomas Jurman
Czech Republic
-- 
View this message in context: 
http://www.nabble.com/Struts2-%2B-applicationContext.xml-tp18192032p18192032.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to