Project

General

Profile

Actions

Bug #1883

closed

Favicon precedence

Added by Jan Goyvaerts almost 11 years ago. Updated over 10 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...

Actions #1

Updated by Koen Deforche over 10 years ago

  • 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 { ... }
Actions #2

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF