bcompton
Oct 10th, 2005, 11:23 AM
I need to develop a JSP EL function for a web application I am working on. This function needs to be able to somehow find the Spring ApplicationContext to call getBean and call some business logic. It appears that the EL functions are implemented as methods in a POJO which does not have access to the PageContext from which I could find the Spring ApplicationContext. I am using org.springframework.web.context.ContextLoaderListe ner to initialize the ApplicationContext.
My question is: Is there some easy way to locate the ApplicationContext?
My question is: Is there some easy way to locate the ApplicationContext?