James Cook-13 wrote:
>
> In the past I have done this for accessing beans in a servlet.
>
> <bean
> class="org.springframework.web.context.support.ServletContextAttributeEx
> porter">
> <property name="attributes">
> <map>
> <entry key="organisationService"
> value-ref="myOrganisationServiceBeanRef"/>
> </map>
> </property>
> </bean>
>
> OrganisationService organisationService = (OrganisationService)
> getServletContext().getAttribute("organisationService");
>
OK. Thanks. I'll try that.
Is it possible though to use Spring to push objects onto the Struts OGNL
stack? That would be neater?
Later,
Andy
--
View this message in context:
http://old.nabble.com/Some-Spring-Struts-questions-tp28533505p28534868.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org