<%@ page info="index" contentType="text/html; charset=utf-8" pageEncoding="utf-8" session="false" %> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <% long date0 = System.currentTimeMillis(); String token = net.sourceforge.plantuml.pstat.Stats.getInstance().getNewToken(date0); String contextRoot = request.getContextPath(); String host = "http://" + request.getServerName() + ":" + request.getServerPort(); String encoded = ""; String umltext = ""; String imgurl = ""; String svgurl = ""; String txturl = ""; String mapurl = ""; Object mapNeeded = request.getAttribute("net.sourceforge.plantuml.servlet.mapneeded"); 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; if (mapNeeded != null) { mapurl = host + contextRoot + "/map/" + encoded; } } } Object decodedAttribute = request.getAttribute("net.sourceforge.plantuml.servlet.decoded"); if (decodedAttribute != null) { umltext = decodedAttribute.toString(); } %> PlantUMLServer
<%-- CONTENT --%>



You can enter here a previously generated URL:


<% if ( !imgurl.isEmpty()) { %>
View as SVG  View as ASCII Art <% if (mapNeeded != null) { %> View Map Data <% } //endif %> <% if (!encoded.isEmpty()) { %>

<% } //endif %>

<% if (mapNeeded != null) { %> PlantUML diagram <% } else { %> PlantUML diagram <% } %>

<% } //endif %>
( /  / )
<%-- FOOTER --%> <%@ include file="footer.jspf" %>