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