domurtag
Jun 15th, 2007, 04:31 PM
Hi,
Within a spring web application config. file is there any way that I can inject the servlet context into a bean?
In other words, what should I replace '???' with?
<bean id="myBean" class="com.example.MyBean">
<property name="servletContext">???</property>
</bean>
Many thanks in advance,
DM
Within a spring web application config. file is there any way that I can inject the servlet context into a bean?
In other words, what should I replace '???' with?
<bean id="myBean" class="com.example.MyBean">
<property name="servletContext">???</property>
</bean>
Many thanks in advance,
DM