01: /*
02: * tableAppClient
03: *
04: * Enhydra super-servlet
05: *
06: * Prozone
07: *
08: */
09:
10: package tableappclient;
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 TableAppClient extends StandardApplication {
23:
24: /*
25: * A few methods you might want to add to.
26: * See StandardApplication for more details.
27: */
28: public void startup(Config appConfig) throws ApplicationException {
29: super .startup(appConfig);
30: // Here is where you would read application-specific settings from
31: // your config file.
32: }
33:
34: public boolean requestPreprocessor(HttpPresentationComms comms)
35: throws Exception {
36: return super .requestPreprocessor(comms);
37: }
38:
39: /**
40: * This is an optional function, used only by the Multiserver's graphical
41: * administration. This bit of HTML appears in the status page for this
42: * application. You could add extra status info, for example
43: * a list of currently logged in users.
44: *
45: * @return HTML that is displayed in the status page of the Multiserver.
46: */
47: public String toHtml() {
48: return "This is <I>tableAppClient</I>";
49: }
50: }
|