You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2003/03/17 22:00:03 UTC
[WIKI-UPDATE] Protocols Mon Mar 17 22:00:02 2003
Page: http://wiki.cocoondev.org/Wiki.jsp?page=Protocols , version: 4 on Mon Mar 17 20:31:58 2003 by Con
- !Protocols
+ !Protocols
? +
- As well as being able to service http requests, Cocoon understands several other internal protocols for addressing resources:
+ As well as being able to service http requests, Cocoon uses protocols to retrieve information from other sources. These include the standard protocols like {{http}} and {{file}}, as well as some special "internal" protocols.
+ !"Internal" protocols
- * {{context://}} - get a resource using the servlet context
- * {{cocoon:/}} - get a pipeline from the current sitemap
- * {{cocoon://}} - get a pipeline using the root sitemap
- * {{resource://}} - get a resource from the context classloader
+ * {{context://}} - get a resource using the servlet context
+ * {{cocoon:/}} - get a pipeline from the current sitemap
+ * {{cocoon://}} - get a pipeline using the root sitemap
+ * {{resource://}} - get a resource from the context classloader
+
+ !The standard Java protocols
+
+ * {{http:}} - get a resource from a web server
+ * {{ftp:}} - get a resource from an ftp server
+ * {{file:}} - get a resource from a file server
+ * {{jar:}} - get a resource from inside a jar or zip file. [e.g.|JarProtocolExample]
+
- See [Aggregator] for some examples of how these can be used.
? ^ ^
+ See [Aggregator] for more examples of how these can be used.
? ^ ^ +
- It's important to use the ! after "mypictures.jar" to divide the path of the picture in the jar from the jar itself.
+ It's important to use the ! after "mypictures.jar" to divide the path of the picture in the jar from the jar itself. [e.g.|JarProtocolExample]
? +++++++++++++++++++++++++++
-