Project

General

Profile

Bug #1883

Favicon precedence

Added by Jan Goyvaerts over 8 years ago. Updated about 8 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...

#1

Updated by Koen Deforche about 8 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 { ... }
#2

Updated by Koen Deforche about 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF