The purpose of this post is: understand why the model.java and the controller.java are collecting data from my jukebox.jsp and the searchResults.jsp is capturing the results fine. But the commandButton is not redirecting the jukebox.jsp to the searchResults.jsp

The functionality of this code is: I have a jukdbox.jsf that directly passes variables to the doSomething() of the controller.java and the controller returns “success”. Then the controller.java calls a method from the model object and it performs a routine using
The received param and returns the result.

My question concerning this code is: The searchResult.jsp is able to get the results from the model.java so the controller should be returning a string “success” but the jukebox.jsf(input data from client) is not being redirected to the searchResults.jsf.