cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r389301 - /cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-demo2/src/main/java/org/apache/cocoon/blocks/demo2/DemoServlet.java
Date Mon, 27 Mar 2006 21:58:03 GMT
Author: danielf
Date: Mon Mar 27 13:58:02 2006
New Revision: 389301

URL: http://svn.apache.org/viewcvs?rev=389301&view=rev
Log:
Split the demo on two blocks to be able to test starting and stopping the blocks independently
(it worked). Part V

Modified:
    cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-demo2/src/main/java/org/apache/cocoon/blocks/demo2/DemoServlet.java
  (contents, props changed)

Modified: cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-demo2/src/main/java/org/apache/cocoon/blocks/demo2/DemoServlet.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-demo2/src/main/java/org/apache/cocoon/blocks/demo2/DemoServlet.java?rev=389301&r1=389300&r2=389301&view=diff
==============================================================================
--- cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-demo2/src/main/java/org/apache/cocoon/blocks/demo2/DemoServlet.java
(original)
+++ cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-demo2/src/main/java/org/apache/cocoon/blocks/demo2/DemoServlet.java
Mon Mar 27 13:58:02 2006
@@ -1,38 +1,38 @@
-/*
- * Copyright 1999-2005 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.cocoon.blocks.demo2;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-/**
- * @version $Id: TestServlet.java 388756 2006-03-25 13:43:42Z danielf $
- */
-public class DemoServlet extends HttpServlet {
-
-    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
-        response.setContentType("text/plain");
-        PrintWriter writer = response.getWriter();
-        writer.println("Demo2");
-        writer.close();
-    }
-
-}
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.cocoon.blocks.demo2;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @version $Id$
+ */
+public class DemoServlet extends HttpServlet {
+
+    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
+        response.setContentType("text/plain");
+        PrintWriter writer = response.getWriter();
+        writer.println("Demo2");
+        writer.close();
+    }
+
+}

Propchange: cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-demo2/src/main/java/org/apache/cocoon/blocks/demo2/DemoServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-demo2/src/main/java/org/apache/cocoon/blocks/demo2/DemoServlet.java
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message