this email list works well... as soon as i send an email the solution pops in my head...

for others i had to add this to my applicationcontext:

   <bean id="personDao" class="nl.tryllian.achievo.dao.PersonDaoHibernate">
       <property name="sessionFactory" ref="sessionFactory"/>
   </bean>

   <bean id="personAction" class="nl.tryllian.achievo.action.PersonAction"
       scope="prototype" autowire="default">
       <property name="personDao" ref="personDao"/>
   </bean>


tibi




tibi wrote:

hi,

i followed this tutorial:

http://appfuse.org/display/APF/Using+Hibernate
and created my own dao.

now i'm not sure how to inject this dao into my struts action class.

anyone a light for me??

thanks,

tibi


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to