Blank page after user cancels basic authentication

前端 未结 2 1955
无人及你
无人及你 2021-01-23 09:35

I\'ve googled a lot about the problem, but still did not find, why it is happening. When user cancels BASIC auth form in browser, blank page is appeared.

401 page is se

2条回答
  •  故里飘歌
    2021-01-23 09:42

    You could try to add the error code customization to your web.xml.

    
      401
      /errors/401.jsp
    
    

    This will allow you to properly handle the error and offer to the user an escape...

    HIH

提交回复
热议问题