KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > projectmanagement > presentation > employees > Context


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

7
8 package projectmanagement.presentation.employees;
9
10 import projectmanagement.presentation.*;
11
12 import org.w3c.dom.*;
13 import org.w3c.dom.html.*;
14
15 // Enhydra SuperServlet imports
16
import com.lutris.appserver.server.httpPresentation.*;
17 import org.enhydra.xml.xmlc.XMLObject;
18
19 // Standard imports
20
import java.io.IOException JavaDoc;
21
22 /**
23 * Generates the blank HTML page.
24 */

25 public class Context extends BasePO {
26
27    /**
28     * Superclass method override. Returns 1.
29     */

30    protected int getRequiredAuthLevel() {
31       return 1;
32    }
33
34    /**
35     * Default event. Just show the page.
36     */

37    public XMLObject handleDefault() throws HttpPresentationException {
38
39       ContextHTML page=new ContextHTML();
40       return page;
41    }
42
43 }
44
Popular Tags