]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/uwobo/src/it/unibo/cs/helm/uwobo/Servlet.java
- shows also version in usage string
[helm.git] / helm / uwobo / src / it / unibo / cs / helm / uwobo / Servlet.java
index 32014063eec7534bc19d5ac7583e1af37b0495f2..d259c3f89f68db1d8c6f48875d897a9a21ab947a 100644 (file)
@@ -142,7 +142,7 @@ public class Servlet extends HttpServlet {
       }
       String local = e.getLocalizedMessage();
       local = local.substring(local.lastIndexOf(':')+1);
-      return "<b>"+message+": "+local+"</b><br />";
+      return "<b style=\"color: red\">"+message+": "+local+"</b><br />";
    }
    
    public void doGet(HttpServletRequest request, HttpServletResponse response)
@@ -175,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));
               }
@@ -299,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));
                }