Solve the problem that when implementing the HandlerInterceptor interface when customizing the interceptor in the ieda compiler, it will not prompt to implement its method

When implementing the HandlerInterceptor interface when customizing the interceptor, it will not be prompted to implement its method

  • The first thing to do is to make sure it's servletdown web.servlet.HandlerInterceptorThis is the first step.
  • The second step is to press alt+oor fn+alt+insertthe following pop-up window will appear, and operate according to the icon:
    insert image description here

insert image description here

  • Then preHandlecustomize the content of the yi interceptor below

Hope it could help everyone

Guess you like

Origin blog.csdn.net/weixin_45686583/article/details/115009262