<bean name="/login" class="com.qbz.struts.action.LoginAction"> <property name="personDao" ref="personDaoImpl"></property> </bean>