Add a navigation rule to faces-config.xml that forwards the user to response.xhtml when the returned status of the DukeBDay.processBirthday method is success.
With the firstcup project selected in the Projects pane, expand Configuration File and double-click faces-config.xml.
Click PageFlow in the top left corner of the editor pane to display the visual navigation editor.
Select greeting.xhtml click and hold the navigation arrow box on the far right, and drag a navigation arrow to the response.xhtml file.
Double-click the default case1 outcome associated with the navigation arrow and change it to success.
Select File -> Save.