mickknutson
Aug 24th, 2005, 04:51 PM
I have an extended ActionServlet:
public class ExtendedActionServlet extends ActionServlet {
That I want to be able to get the WebApplicationContext from like I do in my DispatchActionSupport
I.e:
organization = ((AccessLdap)getWebApplicationContext().getBean ("accessLdap")).getUserOrganization(principal.getName());
How can I do this please?
public class ExtendedActionServlet extends ActionServlet {
That I want to be able to get the WebApplicationContext from like I do in my DispatchActionSupport
I.e:
organization = ((AccessLdap)getWebApplicationContext().getBean ("accessLdap")).getUserOrganization(principal.getName());
How can I do this please?