Project

General

Profile

Actions

Bug #1883

closed
JG KD

Favicon precedence

Bug #1883: Favicon precedence

Added by Jan Goyvaerts over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
04/29/2013
Due date:
% Done:

0%

Estimated time:

Description

Setting the favicon only works when set in the constructor of WtServlet. Problem is that the context path is not available yet.

When set into WtServler.createApplication() it remains /favicon.icon.

Although the debugger shows the execution of Configuration.getFavicon(); returning the correct path.

Unfortunately we can't hardcode the context path either...

KD Updated by Koen Deforche almost 13 years ago Actions #1

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche

Hey jan

You can postpone configuration to an overridden init() function which provides access to the context path:

        @Override
        public void init(ServletConfig config) throws ServletException { ... }

KD Updated by Koen Deforche almost 13 years ago Actions #2

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom