Skip to content

Commit

Permalink
Issue #9925 Use current ServletContextHandler (#9933)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel authored Jun 20, 2023
1 parent 87eb651 commit a5f26b3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ public static ServletContextHandler getServletContextHandler(ServletContext serv
{
if (servletContext instanceof ServletContextApi)
return ((ServletContextApi)servletContext).getContext().getServletContextHandler();
return null;

return getCurrentServletContextHandler();
}

public static ServletContext getCurrentServletContext()
Expand Down

0 comments on commit a5f26b3

Please sign in to comment.