1) is correct. I can't tell you the number of times that, on app startup,
I've gotten reams and reams of error messages because Spring couldn't
instantiate some bean or another.2) is both -- which you could determine for
yourself pretty easily by putting a logging statement in the action's
constru
ren sky wrote:
1) before running my project, spring has already instantiate all the
object defined in the applicationContext.xml?
such as LoginAction,PersonServiceImpl and sessionFactory?
Singletons probably are, sure.
2) the action used in struts2 is instantiated before a request comes
i
hello everyone,
i am new to struts2.
i use struts2, spring2.5 and hibernate 3.3.1 to build a simple website.
and have some questions about the order of the objects instantiate.
here is my config file for spring:
-applicationContext.xml---
3 matches
Mail list logo