ret = (String) ServiceLocator.getInstance().getString("java:comp/env/contentEncoding");
ret = ServiceLocator.getInstance().getString("java:comp/env/contentEncoding");
    public String getDefaultContentEncoding() {        String ret = null;        try {            ret = (String) ServiceLocator.getInstance().getString("java:comp/env/contentEncoding");                    } catch (ServiceLocatorException e) {            log.debug("Can not find any default content encoding, using hard default ISO-8859-1.");            ret = "ISO-8859-1";                    }        if (ret == null) {            log.debug("Can not find any default content encoding, using hard default ISO-8859-1.");            ret = "ISO-8859-1";        }         return ret;    }