Config cfg = cmp.getConfig();
AttrBuilder attrs = new AttrBuilder(request, xssAPI);
attrs.add("rel", "shortcut icon");
attrs.addHref("href", cfg.get("href", "/libs/granite/core/content/login/favicon.ico"));
// https://en.wikipedia.org/wiki/Favicon#How_to_use
%><link <%= attrs.build() %>>
Change the favicon path highlighted in red above.
Refer the below screenshot to overlay the OOTB favicon.jsp-

No comments:
Post a Comment
If you have any doubts or questions, please let us know.