01: /*
02: * cactus
03: *
04: * Enhydra super-servlet
05: *
06: * 2001 Ryuji "The Hamlet" Hattori. all right reserved
07: *
08: *
09: * formatted with JxBeauty (c) johann.langhofer@nextra.at
10: */
11:
12: package org.hamletsoft.enhydra.cactus;
13:
14: import com.lutris.appserver.server.*;
15: import com.lutris.appserver.server.httpPresentation.*;
16: import com.lutris.appserver.server.session.*;
17: import com.lutris.util.*;
18:
19: /**
20: * The application object.
21: *
22: * Application-wide data would go here.
23: */
24: public class CactusForEnhydraTest extends StandardApplication {
25:
26: /*
27: * A few methods you might want to add to.
28: * See StandardApplication for more details.
29: */
30: public void startup(Config appConfig) throws ApplicationException {
31: super .startup(appConfig);
32: // Here is where you would read application-specific settings from
33: // your config file.
34: }
35:
36: public boolean requestPreprocessor(HttpPresentationComms comms)
37: throws Exception {
38: return super .requestPreprocessor(comms);
39: }
40:
41: /**
42: * This is an optional function, used only by the Multiserver's graphical
43: * administration. This bit of HTML appears in the status page for this
44: * application. You could add extra status info, for example
45: * a list of currently logged in users.
46: *
47: * @return HTML that is displayed in the status page of the Multiserver.
48: */
49: public String toHtml() {
50: return "This is <I>cactus</I>";
51: }
52: }
|