public String getPlayer(int idFile, int tipoSource, String filename) throws IOException, ServletException {
        WebContext wctx = WebContextFactory.get();
        String page;
        switch (tipoSource){
            case VIDEO:
                page = "Video";
                break;
            case AUDIO:
                page = "Audio";
                break;
            case IMAGEN:
                page = "Imagen";
                break;
            default:
                page = "Otro";
        }//fin switch

        String url = format("/player/player%s.jsp?idFile=%d&tipoSource=%d&fileName=%s", page, idFile, tipoSource, filename);
        logger.debug("url = " + url);
        return wctx.forwardToString(url);
    }