[MOBY-guts] biomoby commit

Gary Schlitz gss at pub.open-bio.org
Tue Mar 30 21:57:48 UTC 2004


gss
Tue Mar 30 16:57:48 EST 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/tools/server/servlet
In directory pub.open-bio.org:/tmp/cvs-serv27747/org/smoby/tools/server/servlet

Modified Files:
	AbstractMobyServlet.java 
Log Message:
Changed POST parameter name to "graph"

moby-live/S-MOBY/ref-impl/core/org/smoby/tools/server/servlet AbstractMobyServlet.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/tools/server/servlet/AbstractMobyServlet.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/tools/server/servlet/AbstractMobyServlet.java	2004/03/27 01:14:22	1.3
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/tools/server/servlet/AbstractMobyServlet.java	2004/03/30 21:57:48	1.4
@@ -106,7 +106,7 @@
             // Read the invocation graph from the "query-graph" parameter
             // and parse it into a MOBYGraph object
             //
-            String graphString = ParamReader.getParameter("query-graph", request);
+            String graphString = ParamReader.getParameter("graph", request);
         	MOBYGraph graph = MOBYGraph.fromString(graphString, false);
             
             // Invoke the abstract handleRequest() method in order for the
@@ -120,6 +120,8 @@
         }
         catch (Throwable t)
         {
+        	response.sendError(HttpServletResponse.SC_NOT_ACCEPTABLE,
+        		t.getMessage());
         }
         out.flush();
         out.close();




More information about the MOBY-guts mailing list