diff --git a/framework-docs/modules/ROOT/assets/images/mvc-context-hierarchy.png b/framework-docs/modules/ROOT/assets/images/mvc-context-hierarchy.png index 9c4a950caad..9ade68881de 100644 Binary files a/framework-docs/modules/ROOT/assets/images/mvc-context-hierarchy.png and b/framework-docs/modules/ROOT/assets/images/mvc-context-hierarchy.png differ diff --git a/framework-docs/modules/ROOT/assets/images/mvc-context-hierarchy.svg b/framework-docs/modules/ROOT/assets/images/mvc-context-hierarchy.svg index 07148744b54..817a97ec2fe 100644 --- a/framework-docs/modules/ROOT/assets/images/mvc-context-hierarchy.svg +++ b/framework-docs/modules/ROOT/assets/images/mvc-context-hierarchy.svg @@ -17,6 +17,7 @@ class="st5" id="svg5499" version="1.1" + font-family="Helvetica, Arial, sans-serif" inkscape:version="0.91 r13725" sodipodi:docname="mvc-splitted-contexts.svg" style="font-size:12px;overflow:visible;color-interpolation-filters:sRGB;fill:none;fill-rule:evenodd;stroke-linecap:square;stroke-miterlimit:3" @@ -36,7 +37,7 @@ inkscape:stockid="Arrow2Mend"><title id="title5505">Page-1DispatcherServlet + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:23.06853676px;font-family:Helvetica, Arial, sans-serif;-inkscape-font-specification:sans-serif;fill:#333333">DispatcherServlet Servlet WebApplicationContext + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:23.06853676px;font-family:Helvetica, Arial, sans-serif;-inkscape-font-specification:sans-serif;fill:#333333">Servlet WebApplicationContext (containing controllers, view resolvers,(containing controllers, view resolvers,and other web-related beans) Controllers + style="font-size:11.53426838px;fill:#333333">Controllers ViewResolver HandlerMapping + style="font-size:11.53426838px;fill:#333333">HandlerMapping Root WebApplicationContext (containing middle-tier services, datasources, etc.) @@ -541,43 +550,47 @@ height="36.72575" width="82.040657" id="rect6648" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.86203903;stroke-miterlimit:3;stroke-dasharray:none;stroke-opacity:1" />Services Repositories + style="font-size:11.53426838px;fill:#333333">Repositories Delegates if no bean found \ No newline at end of file diff --git a/framework-docs/modules/ROOT/pages/web/webmvc/mvc-servlet/context-hierarchy.adoc b/framework-docs/modules/ROOT/pages/web/webmvc/mvc-servlet/context-hierarchy.adoc index e2d06ae0934..e1aabb0d111 100644 --- a/framework-docs/modules/ROOT/pages/web/webmvc/mvc-servlet/context-hierarchy.adoc +++ b/framework-docs/modules/ROOT/pages/web/webmvc/mvc-servlet/context-hierarchy.adoc @@ -20,7 +20,7 @@ are effectively inherited and can be overridden (that is, re-declared) in the Se child `WebApplicationContext`, which typically contains beans local to the given `Servlet`. The following image shows this relationship: -image::mvc-context-hierarchy.png[] +image::mvc-context-hierarchy.png[width=60%,align="center"] The following example configures a `WebApplicationContext` hierarchy, and the equivalent `web.xml`: