Sachin Handiekar

Sachin Handiekar


October 2011
M T W T F S S
« Sep   Nov »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Categories


Accessing Spring in Generic Web Applications

Sachin HandiekarSachin Handiekar

A web application can load Spring’s application context be registering the servlet listener ContextLoadListener. This listener stores the loaded application context into the web application’s servlet context. Later, a servlet, or any object that can access the servlet context can access the Spring’s application context through the WebApplicationContextUtils.getRequiredWebApplicationContext() method.

Code goes here….

Comments 0
There are currently no comments.

Leave a Reply