missing file for the supertemplate demonstration.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2307 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent ff3f174a2d
commit 01363bc7f6

@ -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;
}
}
Loading…
Cancel
Save