01: /*
02: * Copyright (c) 1999-2001 Lutris Technologies, Inc. All Rights
03: * Reserved.
04: *
05: * This source code file is distributed by Lutris Technologies, Inc. for
06: * use only by licensed users of product(s) that include this source
07: * file. Use of this source file or the software that uses it is covered
08: * by the terms and conditions of the Lutris Enhydra Development License
09: * Agreement included with this product.
10: *
11: * This Software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
12: * ANY KIND, either express or implied. See the License for the specific terms
13: * governing rights and limitations under the License.
14: *
15: * Contributor(s):
16: *
17: * $Id: Welcome.java,v 1.1 2006-09-11 12:57:49 sinisa Exp $
18: */
19:
20: package xalanDoc.presentation;
21:
22: import java.util.Date; //import com.lutris.xml.xmlc.*;
23: import com.lutris.appserver.server.httpPresentation.*;
24:
25: public class Welcome implements HttpPresentation {
26:
27: public void run(HttpPresentationComms comms)
28: throws HttpPresentationException {
29:
30: String now = new Date().toString();
31: WelcomeHTML welcome = (WelcomeHTML) comms.xmlcFactory
32: .create(WelcomeHTML.class);
33: //welcome.setTextTime(now);
34: comms.response.writeHTML(welcome);
35: }
36:
37: }
|