} else if ("/checkDomain".equals(path)) { checkDomain(out);
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {        res.setContentType("text/html");        PrintWriter out = res.getWriter();        out.println("<HEAD><TITLE>Fenix Domain Browser</TITLE></HEAD><BODY>\n");        String path = req.getPathInfo();        try {            if ("/listAll".equals(path)) {                renderListAll(out, RequestParams.parse(req, "domainClass"));            } else if ("/showObj".equals(path)) {                renderDomainObject(out, RequestParams.parse(req, "domainClass", "objId"));            } else if ("/listRole".equals(path)) {                renderDomainObjectRole(out, RequestParams.parse(req, "domainClass", "objId", "role"));            } else {                renderMainIndex(out);            }                } catch (Exception e) {            e.printStackTrace();            throw new Error("Error: " + e.getMessage());        }        	out.println("</BODY>\n");	out.close();    }