sylvain 2003/01/08 03:02:18
Modified: src/webapp/WEB-INF Tag: cocoon_2_0_3_branch cocoon.xconf
Log:
Fix bug #15279 (writeable source doesn't work with context: URLs)
Revision Changes Path
No revision
No revision
1.4.2.5 +3 -3 xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf
Index: cocoon.xconf
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf,v
retrieving revision 1.4.2.4
retrieving revision 1.4.2.5
diff -u -r1.4.2.4 -r1.4.2.5
--- cocoon.xconf 30 Nov 2002 10:23:26 -0000 1.4.2.4
+++ cocoon.xconf 8 Jan 2003 11:02:18 -0000 1.4.2.5
@@ -153,9 +153,6 @@
<!-- Allows access to resources available from the ClassLoader,
using getResource() method. -->
<protocol name="resource"
class="org.apache.cocoon.components.url.ResourceURLFactory"/>
- <!-- Allows access to resources available from the servlet context,
- using getResource() method. -->
- <protocol name="context"
class="org.apache.cocoon.components.url.ContextURLFactory"/>
<!-- Add here protocol factories for your own protocols -->
</url-factory>
@@ -167,6 +164,9 @@
<source-handler logger="core.source-handler">
<!-- file protocol : this is a WriteableSource -->
<protocol name="file"
class="org.apache.cocoon.components.source.FileSourceFactory"/>
+ <!-- Allows access to resources available from the servlet context,
+ using getResource() method. -->
+ <protocol name="context"
class="org.apache.cocoon.components.source.ContextSourceFactory"/>
</source-handler>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]