jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1530983 - /jackrabbit/oak/trunk/oak-http/src/main/java/org/apache/jackrabbit/oak/http/OakServlet.java
Date Thu, 10 Oct 2013 14:02:19 GMT
Author: jukka
Date: Thu Oct 10 14:02:19 2013
New Revision: 1530983

URL: http://svn.apache.org/r1530983
Log:
OAK-104: HTTP bindings for Oak

Make POST responses work properly

Modified:
    jackrabbit/oak/trunk/oak-http/src/main/java/org/apache/jackrabbit/oak/http/OakServlet.java

Modified: jackrabbit/oak/trunk/oak-http/src/main/java/org/apache/jackrabbit/oak/http/OakServlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-http/src/main/java/org/apache/jackrabbit/oak/http/OakServlet.java?rev=1530983&r1=1530982&r2=1530983&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-http/src/main/java/org/apache/jackrabbit/oak/http/OakServlet.java
(original)
+++ jackrabbit/oak/trunk/oak-http/src/main/java/org/apache/jackrabbit/oak/http/OakServlet.java
Thu Oct 10 14:02:19 2013
@@ -152,6 +152,8 @@ public class OakServlet extends HttpServ
             if (node.isObject()) {
                 post(node, tree);
                 root.commit();
+                request.setAttribute("path", "");
+                request.setAttribute("tree", tree);
                 doGet(request, response);
             } else {
                 response.sendError(HttpServletResponse.SC_BAD_REQUEST);



Mime
View raw message