Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 64360 invoked from network); 17 Mar 2008 14:22:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2008 14:22:04 -0000 Received: (qmail 67668 invoked by uid 500); 17 Mar 2008 14:22:02 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 67606 invoked by uid 500); 17 Mar 2008 14:22:01 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 67170 invoked by uid 99); 17 Mar 2008 14:22:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 07:22:00 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 14:21:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9CCA91A9832; Mon, 17 Mar 2008 07:21:38 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r637895 - in /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main: java/org/apache/cocoon/servletservice/demo1/DemoServlet.java resources/COB-INF/overview/overview.html Date: Mon, 17 Mar 2008 14:21:37 -0000 To: cvs@cocoon.apache.org From: reinhard@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080317142138.9CCA91A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: reinhard Date: Mon Mar 17 07:21:34 2008 New Revision: 637895 URL: http://svn.apache.org/viewvc?rev=637895&view=rev Log: after overview.html was mounted to a different path, fix all links Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/java/org/apache/cocoon/servletservice/demo1/DemoServlet.java cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/resources/COB-INF/overview/overview.html Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/java/org/apache/cocoon/servletservice/demo1/DemoServlet.java URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/java/org/apache/cocoon/servletservice/demo1/DemoServlet.java?rev=637895&r1=637894&r2=637895&view=diff ============================================================================== --- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/java/org/apache/cocoon/servletservice/demo1/DemoServlet.java (original) +++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/java/org/apache/cocoon/servletservice/demo1/DemoServlet.java Mon Mar 17 07:21:34 2008 @@ -149,11 +149,11 @@ os.close(); } else if ("/test9".equals(path)) { - // FIXME Doesn't work currently! RelativeServletConnection con = new RelativeServletConnection(null, "/test8", null); response.setContentType("text/plain"); InputStream is = con.getInputStream(); OutputStream os = response.getOutputStream(); + response.setStatus(con.getResponseCode()); copy(is, os); is.close(); os.close(); Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/resources/COB-INF/overview/overview.html URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/resources/COB-INF/overview/overview.html?rev=637895&r1=637894&r2=637895&view=diff ============================================================================== --- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/resources/COB-INF/overview/overview.html (original) +++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/resources/COB-INF/overview/overview.html Mon Mar 17 07:21:34 2008 @@ -25,42 +25,43 @@

Usage in sitemaps

    -
  • Simple pipeline: A simple pipeline that doesn't use the SSF./
  • -
  • servlet: protocol usage: Calling another pipeline using the servlet: protocol./
  • -
  • servlet: protocol usage (self-referencing): - Calling another pipeline from within the same sitemap (servlet-service) using the servlet: protocol./
  • -
  • Reading a resource: A simple pipeline that reads a resource using the resource: protocol./
  • -
  • Servlet-Service generator: Using the servlet-service generator that - performs a POST request on a generating servlet-service and passes the result to the calling pipeline./
  • , -
  • Servlet-Service transformer: Using the servlet-service transformer that - performs a POST request on a transforming servlet-service and passes the transformed result to the calling pipeline./
  • -
  • Servlet-Service serializer: Using the servlet-service serializer that - performs a POST request on a serializing servlet-service./
  • +
  • Simple pipeline: A simple pipeline that doesn't use the SSF.
  • +
  • servlet: protocol usage: Calling another pipeline using the servlet: protocol.
  • +
  • servlet: protocol usage (self-referencing): + Calling another pipeline from within the same sitemap (servlet-service) using the servlet: protocol.
  • +
  • Reading a resource: A simple pipeline that reads a resource using the resource: protocol.
  • +
  • Servlet-Service generator: Using the servlet-service generator that + performs a POST request on a generating servlet-service and passes the result to the calling pipeline.
  • +
  • Servlet-Service transformer: Using the servlet-service transformer that + performs a POST request on a transforming servlet-service and passes the transformed result to the calling pipeline.
  • +
  • Servlet-Service serializer: Using the servlet-service serializer that + performs a POST request on a serializing servlet-service.

Sub-Sitemaps

Block-Path module

    -
  • Block-path module: Use the block-path module to find the mount-path of a servlet-service./
  • +
  • Block-path module: Use the block-path module to find the mount-path of a servlet-service./

Passing information of origal request

    -
  • Passing original request: The request attributes, parameters and header parameters are shared between the calling +
  • Passing original request: The request attributes, parameters and header parameters are shared between the calling and the called request. The called request has its own session but can also access the global session.

Servlet-Connections