From 01363bc7f6e9f71a9ef15cc173eb1ba1fbe311a6 Mon Sep 17 00:00:00 2001 From: allo Date: Wed, 19 Jul 2006 11:59:55 +0000 Subject: [PATCH] missing file for the supertemplate demonstration. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2307 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Lab.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 htroot/Lab.java diff --git a/htroot/Lab.java b/htroot/Lab.java new file mode 100644 index 000000000..ff1f786f5 --- /dev/null +++ b/htroot/Lab.java @@ -0,0 +1,13 @@ +import de.anomic.http.httpHeader; +import de.anomic.server.serverObjects; +import de.anomic.server.serverSwitch; + +public class Lab { + public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) { + serverObjects prop = new serverObjects(); + //XXX: Should we use Constants like DEFAULT_PAGE, PAGE_WITHOUT_MENU and so on, + //or is it nice enough to set the real path in the servlets? + prop.put("SUPERTEMPLATE", "/env/page.html"); + return prop; + } +}