Oct 14th, 2012, 02:55 AM
Spring's ApplicationContext vs servlet's ServletContext
Re Spring's WebAppContext, what is its relationship to a ServletContext? Are they the same/synonyms? If not, what is the difference between the two? Also, in servlet/jsp dev there are scopes such as page, request and context, can one use these in Spring or are there other wrappers instead?
Thanks in advance.
Oct 15th, 2012, 01:09 AM
I suggest a read of the reference guide or that you pickup a spring book as a lot of your questions are answered in there.
ApplicationContext and ServletContext have no relationship nor are they equal ( I suggest a read on what both are). For a Spring based Web application the applicationcontext is stored in the servletcontext but that is the only relationship there is.