servlets - ServletContext in Spring Application -
i have 1 simple question.
if web.xml web application descriptor this.
<context-param> <param-name>contextconfiglocation</param-name> <param-value> /web-inf/applicationcontext.xml, /web-inf/anothercontext.xml, /web-inf/another2context.xml </param-value> </context-param>
contextloaderlistener create 3 differents servletcontexts or 3 differents servletcontext childs inside 1 general parent servletcontext?
dispatcher-servlet.xml configuration of dispatcherservlet child others 3 contexts above?
solution
i have been investigating area, have created 1 example application, , every xml files make 1 servletcontext only, same root servletcontext application created contextloaderlistener.
maybe can take @ old answer, have great explanation.
namespace vs contextconfiglocation spring init parameters in web.xml
i hope helps.
Comments
Post a Comment