Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

missing file for the supertemplate demonstration.

allo01363bc7f6e9
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;
+ }
+}