KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > poker > presentation > login > StartPresentation


1 /*
2  * Poker
3  *
4  * Enhydra super-servlet presentation object
5  *
6  */

7
8 package poker.presentation.login;
9
10 // Enhydra SuperServlet imports
11
import com.lutris.appserver.server.httpPresentation.HttpPresentation;
12 import com.lutris.appserver.server.httpPresentation.HttpPresentationComms;
13 import com.lutris.appserver.server.httpPresentation.HttpPresentationException;
14
15
16 public class StartPresentation implements HttpPresentation {
17
18
19     public void run(HttpPresentationComms comms)
20         throws HttpPresentationException {
21
22         StartHTML start;
23
24         start = (StartHTML)comms.xmlcFactory.create(StartHTML.class);
25         comms.response.writeDOM(start);
26     }
27
28 }
29
Popular Tags