From d1faf73448a9ff2e5c158bb92309cc3a5ad275c2 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Thu, 17 Feb 2011 21:08:30 +0100 Subject: [PATCH] Add Alice->Bob:hello --- content/index.jsp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/index.jsp b/content/index.jsp index e0ffc31..2a0d1bc 100644 --- a/content/index.jsp +++ b/content/index.jsp @@ -14,7 +14,10 @@ if (encodedAttribute != null) { } } Object decodedAttribute = request.getAttribute("net.sourceforge.plantuml.servlet.decoded"); -if (decodedAttribute != null) { +if (decodedAttribute == null) { + umltext = "Bob -> Alice : hello"; + imgurl = host + contextRoot + "/img/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000"; +} else { umltext = decodedAttribute.toString(); } %>