We have a spring bean defined in one of our dispatcher Servlet's xml (i.e., dg-servlet.xml).
<bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freema rker.FreeMarkerConfigurer">
...
</bean>
We would like to access it from application context. But it cannot be found either by referring it in the application-context.xml or programmaticlly.
How do we solve this problem?
Thank a lot!



Reply With Quote