KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > snapper > presentation > ErrorPresentation


1 package org.enhydra.snapper.presentation;
2
3 import com.lutris.appserver.server.httpPresentation.*;
4 import org.enhydra.snapper.presentation.html.*;
5
6 public class ErrorPresentation implements HttpPresentation {
7
8   public void run(HttpPresentationComms comms)
9         throws HttpPresentationException {
10
11         ErrorHTML htmlObj = (ErrorHTML)comms.xmlcFactory.create(ErrorHTML.class);
12         comms.response.writeDOM(htmlObj);
13     }
14 }
15
16
17
18
19
Popular Tags