How to display error message in my JSP page using spring security 2.0

前端 未结 6 862
忘了有多久
忘了有多久 2021-01-05 11:52

Hi I am now using spring security. It works fine. But if login failed, no error message display. I am wondering how can I display error message?

I have configured th

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-05 12:13

    Where is the jsp to actually display the error? Something like

    
        
    
    

    If you want to customize this message, you should also look at this

提交回复
热议问题