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