Show success message and then redirect to another page after a timeout using PageFlow

后端 未结 3 652
旧巷少年郎
旧巷少年郎 2021-02-14 19:46

How can I show a success message and then redirect the user to another page after a timeout of e.g. 5 seconds?

I need this for the login page after a successful login. I

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-14 20:38

    you can not declare MultiPageMessagesSupport in the web.xml you must declare MultiPageMessagesSupport in the faces-config.xml. por example:

    enter code here
    
    
        your.package.MultiPageMessagesSupport
    
    

提交回复
热议问题