If you are using the spring plugin then all you should have to do is add a setter to your action class and spring will handle it.

ie

public void setUserDAO(IUserDAO userDAO) {
   this.userDAO = userDAO;
}

wolverine my wrote:
Hi!

I have action classes configured in struts.xml and the DataSource,
SessionFactory, DAO objects configured in Spring's
applicationContext.xml.

How can I reference the DAO objects in my action class?

Please advise, thank you!

---------------------------------------------------------------------
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]

Reply via email to