[jboss-cvs] JBossAS SVN: r94072 - projects/spring-int/branches/1_0/documentation/user-guide/src/main/docbook.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 28 15:11:31 EDT 2009


Author: marius.bogoevici
Date: 2009-09-28 15:11:31 -0400 (Mon, 28 Sep 2009)
New Revision: 94072

Modified:
   projects/spring-int/branches/1_0/documentation/user-guide/src/main/docbook/user-guide.xml
Log:
More corrections

Modified: projects/spring-int/branches/1_0/documentation/user-guide/src/main/docbook/user-guide.xml
===================================================================
--- projects/spring-int/branches/1_0/documentation/user-guide/src/main/docbook/user-guide.xml	2009-09-28 18:40:36 UTC (rev 94071)
+++ projects/spring-int/branches/1_0/documentation/user-guide/src/main/docbook/user-guide.xml	2009-09-28 19:11:31 UTC (rev 94072)
@@ -152,21 +152,23 @@
 
       <para>For changing the type of application context created by the
       ContextLoaderListener, use the contextClass parameter, as shown in the
-      sample below (the emphasized portion):</para>
+      sample below:</para>
 
-      <programlisting language="XML">&lt;context-param&gt;
+      <informalexample>
+        <programlisting language="XML">&lt;context-param&gt;
   &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
   &lt;param-value&gt;classpath*:spring-contexts/*.xml&lt;/param-value&gt;
 &lt;/context-param&gt;
-
 <emphasis role="bold">&lt;context-param&gt;
   &lt;param-name&gt;contextClass&lt;/param-name&gt;
-&lt;param-value&gt;org.jboss.spring.vfs.context.VFSXmlWebApplicationContext&lt;/param-value&gt;
+  &lt;param-value&gt;
+    org.jboss.spring.vfs.context.VFSXmlWebApplicationContext
+  &lt;/param-value&gt;
 &lt;/context-param&gt;</emphasis>
-
 &lt;listener&gt;
   &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
 &lt;/listener&gt;</programlisting>
+      </informalexample>
 
       <para>For changing the type of application context created by the
       DispatcherServlet, use the contextClass parameter again, but this time
@@ -179,11 +181,13 @@
   &lt;init-param&gt;
     &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
     &lt;param-value&gt;/WEB-INF/mvc-config.xml&lt;/param-value&gt;
+  &lt;/init-param&gt;<emphasis role="bold">  
+  &lt;init-param&gt;
+  &lt;param-name&gt;contextClass&lt;/param-name&gt;
+    &lt;param-value&gt;
+      org.jboss.spring.vfs.context.VFSXmlWebApplicationContext
+    &lt;/param-value&gt;
   &lt;/init-param&gt;
-<emphasis role="bold">  &lt;init-param&gt;
-    &lt;param-name&gt;contextClass&lt;/param-name&gt;
-  &lt;param-value&gt;org.jboss.spring.vfs.context.VFSXmlWebApplicationContext&lt;/param-value&gt;
-  &lt;/init-param&gt;
 </emphasis>&lt;/servlet&gt;</programlisting>
 
       <para>Both configurations can be seen at work in the web-scanning
@@ -196,7 +200,6 @@
         implementations.</para>
 
         <para><programlisting language="JAVA">Caused by: java.util.zip.ZipException: error in opening zip file
-  at java.util.zip.ZipFile.open(Native Method)
   ...
   at org.springframework.core.io.support.PathMatchingResourcePatternResolver
  .doFindPathMatchingJarResources(PathMatchingResourcePatternResolver.java:448)</programlisting>
@@ -261,8 +264,7 @@
         .sar's, .war's, .ear's, .har's, and .rar's work. Using the JBoss
         Spring deployer you can create Spring jars:</para>
 
-        <screen>
-my-app.spring/
+        <screen>my-app.spring/
    org/
       acme/
           MyBean.class




More information about the jboss-cvs-commits mailing list