Specify navigation rule like below:
| <navigation-rule> <from-view-id>/page/*</from-view-id> <navigation-case> <from-outcome>login</from-outcome> <to-view-id>/login.jsp</to-view-id> <redirect/> </navigation-case> </navigation-rule> |

Clicking the button redirects you to the login.jsp page as shown below: You can see the new page address at the address bar.

Download code for all examples
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Using redirect element & wild card
Post your Comment