Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
smthing committed Aug 10, 2024
1 parent 2d55413 commit e8be71d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public void forward(ServletRequest request, ServletResponse response, boolean na
String[] array = StringUtils.split(dispatcherURL, "?");
requestWrapper.setRequestUri(array[0]);
ServletMappingInfo servletMappingInfo = servletContext.getRuntime().getMappingProvider().match(array[0]);
requestWrapper.setServletMappingInfo(servletMappingInfo);
handlerContext.setServletInfo(servletMappingInfo.getServletInfo());
Map<String, String[]> parameters = new HashMap<>();
if (array.length > 1) {
Expand Down

0 comments on commit e8be71d

Please sign in to comment.