You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2005/01/18 13:47:26 UTC

[Cocoon Wiki] Updated: EndorsedLibsProblem

   Date: 2005-01-18T04:47:26
   Editor: ReinhardPoetz
   Wiki: Cocoon Wiki
   Page: EndorsedLibsProblem
   URL: http://wiki.apache.org/cocoon/EndorsedLibsProblem

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -45,52 +45,52 @@
 
 -- SylvainWallez
 
-=== To Use !ParanoidCocoonServlet ===
+=== To Use ParanoidCocoonServlet ===
 
-To make Cocoon use the !ParanoidCocoonServlet edit {{{web.xml}}} (found in the WEB-INF directory). Look for:
+To make Cocoon use the ParanoidCocoonServlet edit {{{web.xml}}} (found in the WEB-INF directory). Look for:
 
-{{{...
-<web-app>
- 
-  <!-- Servlet Configuration ========================================== -->
-
-  <servlet>
-    <servlet-name>Cocoon</servlet-name>
-    <display-name>Cocoon</display-name>
-    <description>Cocoon</description>
-
-    <!--
-      The regular servlet class (trusts the servlet container classloader)
-      -->
-    <servlet-class>org.apache.cocoon.servlet.CocoonServlet</servlet-class>
+{{{...
+<web-app>
+ 
+  <!-- Servlet Configuration ========================================== -->
+
+  <servlet>
+    <servlet-name>Cocoon</servlet-name>
+    <display-name>Cocoon</display-name>
+    <description>Cocoon</description>
+
+    <!--
+      The regular servlet class (trusts the servlet container classloader)
+      -->
+    <servlet-class>org.apache.cocoon.servlet.CocoonServlet</servlet-class>
     ...}}}
 
 Change the contents of the {{{<servlet-class>}}} element from {{{org.apache.cocoon.servlet.CocoonServlet}}} to {{{org.apache.cocoon.servlet.ParanoidCocoonServlet}}}
 
 You can also specify a servlet parameter pointing to a file containing explicit classpath information:
-{{{...
-<web-app>
- ...
-    <init-param>
-      <param-name>paranoid-classpath</param-name>
-      <param-value>user.classpath</param-value>
-    </init-param>    
- ...
+{{{...
+<web-app>
+ ...
+    <init-param>
+      <param-name>paranoid-classpath</param-name>
+      <param-value>user.classpath</param-value>
+    </init-param>    
+ ...
 </web-app>}}}
 
 The file user.classpath may look like this (before 2.1.4 or the 2004/01/20 ''context:/'' 
 and ''#'' are not supported):
-{{{
-#lib-dir: all JAR and ZIP files within this directory are added to
-#         the classpath
-lib-dir:context:/WEB-INF/lib
-#class-dir: all Java classes in this directory (or any subdirectory) are added to the classpath
-class-dir:context:/WEB-INF/classes
-#this entry is considered as URL
-file:/C:\\lib\core\javacApi.jar
-#this entry is an URL too but uses the context pseudo protocol which is resolved as the root 
-#directory of the servlet context
-context:/WEB-INF/lib/javacApi.jar
+{{{
+#lib-dir: all JAR and ZIP files within this directory are added to
+#         the classpath
+lib-dir:context:/WEB-INF/lib
+#class-dir: all Java classes in this directory (or any subdirectory) are added to the classpath
+class-dir:context:/WEB-INF/classes
+#this entry is considered as URL
+file:/C:\\lib\core\javacApi.jar
+#this entry is an URL too but uses the context pseudo protocol which is resolved as the root 
+#directory of the servlet context
+context:/WEB-INF/lib/javacApi.jar
 }}}
 ----
 ==  See also ==