KickJava   Java API By Example, From Geeks To Geeks.

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


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 BlackPagePresentation implements HttpPresentation {
17
18
19     public void run(HttpPresentationComms comms)
20         throws HttpPresentationException {
21
22         BlackPageHTML black;
23
24         black = (BlackPageHTML)comms.xmlcFactory.create(BlackPageHTML.class);
25         comms.response.writeDOM(black);
26     }
27
28 }
29
Popular Tags