- plantuml
-
- org.eclipse.jetty.servlet.Default.welcomeServlets
- exact
-
-
- jsp
- org.apache.jasper.servlet.JspServlet
-
- compilerSourceVM
- 1.7
-
-
- compilerTargetVM
- 1.7
-
-
-
- plantumlservlet
- net.sourceforge.plantuml.servlet.PlantUmlServlet
-
-
- welcome
- net.sourceforge.plantuml.servlet.Welcome
-
-
- imgservlet
- net.sourceforge.plantuml.servlet.ImgServlet
-
-
- svgservlet
- net.sourceforge.plantuml.servlet.SvgServlet
-
-
- epsservlet
- net.sourceforge.plantuml.servlet.EpsServlet
-
-
- epstextservlet
- net.sourceforge.plantuml.servlet.EpsTextServlet
-
-
- base64servlet
- net.sourceforge.plantuml.servlet.Base64Servlet
-
-
- asciiservlet
- net.sourceforge.plantuml.servlet.AsciiServlet
-
-
- proxyservlet
- net.sourceforge.plantuml.servlet.ProxyServlet
-
-
- oldproxyservlet
- net.sourceforge.plantuml.servlet.OldProxyServlet
-
-
- mapservlet
- net.sourceforge.plantuml.servlet.MapServlet
-
-
- checkservlet
- net.sourceforge.plantuml.servlet.CheckSyntaxServlet
-
-
- languageservlet
- net.sourceforge.plantuml.servlet.LanguageServlet
-
-
-
- plantumlservlet
- /welcome
-
-
- plantumlservlet
- /uml/*
-
-
- plantumlservlet
- /form
-
-
- imgservlet
- /png/*
-
-
- imgservlet
- /img/*
-
-
- svgservlet
- /svg/*
-
-
- epsservlet
- /eps/*
-
-
- epstextservlet
- /epstext/*
-
-
- base64servlet
- /base64/*
-
-
- asciiservlet
- /txt/*
-
-
- checkservlet
- /check/*
-
-
- mapservlet
- /map/*
-
-
- plantumlservlet
- /start/*
-
-
- oldproxyservlet
- /proxy/*
-
-
- proxyservlet
- /proxy
-
-
- languageservlet
- /language
-
-
- java.lang.Throwable
- /error.jsp
-
-
- 500
- /error.jsp
-
-
- welcome
-
+
+
+
+
+
+
+
+ PlantUML
+ PlantUML Online Server
+
+
+
+
+
+
+ 120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.eclipse.jetty.servlet.Default.welcomeServlets
+ exact
+
+
+
+
+
+
+
+
+ jsp
+ org.eclipse.jetty.jsp.JettyJspServlet
+
+ compilerSourceVM
+ 1.7
+
+
+ compilerTargetVM
+ 1.7
+
+
+
+
+ plantumlservlet
+ net.sourceforge.plantuml.servlet.PlantUmlServlet
+
+
+ plantumlservlet
+ /welcome
+
+
+ plantumlservlet
+ /uml/*
+
+
+ plantumlservlet
+ /form
+
+
+ plantumlservlet
+ /start/*
+
+
+
+ imgservlet
+ net.sourceforge.plantuml.servlet.ImgServlet
+
+
+ imgservlet
+ /png/*
+
+
+ imgservlet
+ /img/*
+
+
+
+ svgservlet
+ net.sourceforge.plantuml.servlet.SvgServlet
+
+
+ svgservlet
+ /svg/*
+
+
+
+ epsservlet
+ net.sourceforge.plantuml.servlet.EpsServlet
+
+
+ epsservlet
+ /eps/*
+
+
+
+ epstextservlet
+ net.sourceforge.plantuml.servlet.EpsTextServlet
+
+
+ epstextservlet
+ /epstext/*
+
+
+
+ base64servlet
+ net.sourceforge.plantuml.servlet.Base64Servlet
+
+
+ base64servlet
+ /base64/*
+
+
+
+ asciiservlet
+ net.sourceforge.plantuml.servlet.AsciiServlet
+
+
+ asciiservlet
+ /txt/*
+
+
+
+ proxyservlet
+ net.sourceforge.plantuml.servlet.ProxyServlet
+
+
+ proxyservlet
+ /proxy
+
+
+
+ oldproxyservlet
+ net.sourceforge.plantuml.servlet.OldProxyServlet
+
+
+ oldproxyservlet
+ /proxy/*
+
+
+
+ mapservlet
+ net.sourceforge.plantuml.servlet.MapServlet
+
+
+ mapservlet
+ /map/*
+
+
+
+ checkservlet
+ net.sourceforge.plantuml.servlet.CheckSyntaxServlet
+
+
+ checkservlet
+ /check/*
+
+
+
+ languageservlet
+ net.sourceforge.plantuml.servlet.LanguageServlet
+
+
+ languageservlet
+ /language
+
+
+
+
+
+
+
+
+ java.lang.Throwable
+ /error.jsp
+
+
+
+ 500
+ /error.jsp
+
+
+
+
+
+
+
+
+ welcome
+
+
diff --git a/src/main/webapp/error.jsp b/src/main/webapp/error.jsp
index 36691d8d..247ebbd2 100644
--- a/src/main/webapp/error.jsp
+++ b/src/main/webapp/error.jsp
@@ -1,12 +1,21 @@
<%@ page isErrorPage="true" contentType="text/html; charset=utf-8" pageEncoding="utf-8" session="false" %>
-
-
-
-
-
-
+<%
+ String contextroot = request.getContextPath();
+ String port = "";
+ if (
+ (request.getScheme() == "http" && request.getServerPort() != 80)
+ ||
+ (request.getScheme() == "https" && request.getServerPort() != 443)
+ ) {
+ port = ":" + request.getServerPort();
+ }
+ String scheme = request.getScheme();
+ if (request.getHeader("x-forwarded-proto") != null && request.getHeader("x-forwarded-proto") != "") {
+ scheme = request.getHeader("x-forwarded-proto");
+ }
+ String hostpath = scheme + "://" + request.getServerName() + port + contextroot;
+%>
@@ -15,23 +24,23 @@
-
-
-
+
+
+
PlantUMLServer Error
-
-Sorry, but things didn't work out as planned.
-
-
-
-
-- <%=now.toString() %>
-- Request that failed: <%=pageContext.getErrorData().getRequestURI() %>
-- Status code: <%=pageContext.getErrorData().getStatusCode() %>
-- Exception: <%=pageContext.getErrorData().getThrowable() %>
-
-
+
+ Sorry, but things didn't work out as planned.
+
+
+
+
+ - <%= now.toString() %>
+ - Request that failed: <%= pageContext.getErrorData().getRequestURI() %>
+ - Status code: <%= pageContext.getErrorData().getStatusCode() %>
+ - Exception: <%= pageContext.getErrorData().getThrowable() %>
+
+
-