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