@Override
public void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
Map<String, String> urlPatternDispatchMap = (Map<String, String>) getApplicationContext().getBean("blResourceUrlPatternRequestDispatchMap");
for (Map.Entry<String, String> entry : urlPatternDispatchMap.entrySet()) {
RequestMatcher matcher = new AntPathRequestMatcher(entry.getKey());
if (matcher.matches(request)){
request.getRequestDispatcher(entry.getValue()).forward(request, response);
return;
}
}
super.handleRequest(request, response);