diff --git a/content/WEB-INF/lib/plantuml.jar b/content/WEB-INF/lib/plantuml.jar index e9fcc7d..af367a2 100644 Binary files a/content/WEB-INF/lib/plantuml.jar and b/content/WEB-INF/lib/plantuml.jar differ diff --git a/content/footer.jspf b/content/footer.jspf index bac1de3..84b09d5 100644 --- a/content/footer.jspf +++ b/content/footer.jspf @@ -1,4 +1,5 @@ + \ No newline at end of file diff --git a/content/index.jsp b/content/index.jsp index e4e8520..a86fd88 100644 --- a/content/index.jsp +++ b/content/index.jsp @@ -6,11 +6,15 @@ String host = "http://" + request.getServerName() + ":" + request.getServerPort( String encoded = ""; String umltext = ""; String imgurl = ""; +String svgurl = ""; +String txturl = ""; Object encodedAttribute = request.getAttribute("net.sourceforge.plantuml.servlet.encoded"); if (encodedAttribute != null) { encoded = encodedAttribute.toString(); if (!encoded.isEmpty()) { imgurl = host + contextRoot + "/img/" + encoded; + svgurl = host + contextRoot + "/svg/" + encoded; + txturl = host + contextRoot + "/txt/" + encoded; } } Object decodedAttribute = request.getAttribute("net.sourceforge.plantuml.servlet.decoded"); @@ -57,10 +61,8 @@ if (decodedAttribute != null) { <% if ( !imgurl.isEmpty()) { %>
-

You can use the following URL: -
- <img src="<%=imgurl %>" /> -

+ View as SVG  + View as ASCII Art

PlantUML diagram