X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fuwobo%2Fsrc%2Fit%2Funibo%2Fcs%2Fhelm%2Fuwobo%2FServlet.java;h=d259c3f89f68db1d8c6f48875d897a9a21ab947a;hb=89262281b6e83bd2321150f81f1a0583645eb0c8;hp=7158bc6464a12d113d09d117f3b4e205d12d20bd;hpb=e3d391b71f59528bd657f6a731c9250ea1d14334;p=helm.git
diff --git a/helm/uwobo/src/it/unibo/cs/helm/uwobo/Servlet.java b/helm/uwobo/src/it/unibo/cs/helm/uwobo/Servlet.java
index 7158bc646..d259c3f89 100644
--- a/helm/uwobo/src/it/unibo/cs/helm/uwobo/Servlet.java
+++ b/helm/uwobo/src/it/unibo/cs/helm/uwobo/Servlet.java
@@ -1,3 +1,27 @@
+/* Copyright (C) 2001, HELM Team
+ *
+ * This file is part of UWOBO, developed at the Computer Science
+ * Department, University of Bologna, Italy.
+ *
+ * UWOBO is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * UWOBO is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with UWOBO; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
+ *
+ * For details, see the UWOBO World-Wide-Web page,
+ * http://cs.unibo.it/helm/uwobo
+ */
+
package it.unibo.cs.helm.uwobo;
import java.io.*;
@@ -118,7 +142,7 @@ public class Servlet extends HttpServlet {
}
String local = e.getLocalizedMessage();
local = local.substring(local.lastIndexOf(':')+1);
- return ""+message+": "+local+"
";
+ return ""+message+": "+local+"
";
}
public void doGet(HttpServletRequest request, HttpServletResponse response)
@@ -151,7 +175,7 @@ public class Servlet extends HttpServlet {
if(!log.equals(""))
out.println(msg_out(log));
} catch (TransformerConfigurationException tce) {
- out.println(exc_out("stylesheet error", tce));
+ out.println(exc_out("Stylesheet Error", tce));
} catch (Exception e) {
out.println(exc_out(null, e));
}
@@ -275,7 +299,7 @@ public class Servlet extends HttpServlet {
out.println(msg_out(server.reload(data[i])));
}
} catch (TransformerConfigurationException tce) {
- out.println(exc_out("stylesheet error", tce));
+ out.println(exc_out("Stylesheet Error", tce));
} catch (Exception e) {
out.println(exc_out(null, e));
}