Hi :-)

I'm aware that this question has been asked before, but I can't find a satisfactory answer anywhere, so here goes:

My JSF app uses session beans. I've got a simple one that backs a search page. My welcome page currently does this:

<c:redirect url="/search.html"/>

This kind of works, in the sense that the JSF page is loaded. However, in order to navigate to the search page I usually call mySearchBean.newSearch() - which will reset all the search fields and what have you. When I redirect to the page, stale data is still there.

Basically, I'm looking for a way that'll get my welcome page to execute the jsf backing bean action, instead of an ugly jsp redirect.

Any takers?

Ta :-)

 - Bram

Reply via email to