KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xalanDoc > presentation > Welcome


1 /*
2  * Copyright (c) 1999-2001 Lutris Technologies, Inc. All Rights
3  * Reserved.
4  *
5  * This source code file is distributed by Lutris Technologies, Inc. for
6  * use only by licensed users of product(s) that include this source
7  * file. Use of this source file or the software that uses it is covered
8  * by the terms and conditions of the Lutris Enhydra Development License
9  * 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 2004/08/16 10:51:42 slobodan Exp $
18  */

19
20 package xalanDoc.presentation;
21
22 import java.util.Date JavaDoc;
23 //import com.lutris.xml.xmlc.*;
24
import com.lutris.appserver.server.httpPresentation.*;
25
26 public class Welcome implements HttpPresentation {
27
28
29     public void run(HttpPresentationComms comms)
30         throws HttpPresentationException {
31
32         String JavaDoc now = new Date JavaDoc().toString();
33         WelcomeHTML welcome = (WelcomeHTML)comms.xmlcFactory.create(WelcomeHTML.class);
34         //welcome.setTextTime(now);
35
comms.response.writeHTML(welcome);
36     }
37
38 }
39
Popular Tags