    public String showPart() {
        String part = request.getParameter("part");
        String result = "plain_text";
        String content = "";
        if ("code".equals(part)) {
            content = snippet.getCode();
            result = "code_part";
        } else if ("example".equals(part)) {
            content = snippet.getExample();
        }
        request.setAttribute("content", content);
        return result;
    }

    public String showPart() {
        String part = request.getParameter("part");
        String result = "plain_text";
        String content = "";
        if (snippet != null) {
            if ("code".equals(part)) {
                content = snippet.getCode();
                result = "code_part";
            } else if ("example".equals(part)) {
                content = snippet.getExample();
            }
        } else {
            content = "Snippet Not Found!";
        }
        request.setAttribute("content", content);
        return result;
    }
