Retrieve parameter from URL string and refresh session bean
843844Nov 18 2008 — edited Nov 18 2008Hi. I have a session bean that backs a JSF page (with a form). I want to be able to pass a parameter on the URL to my application, and then be able to have the session bean respond (refresh the page) after processing the URL parameter. So:
http://mydomain:port/myjsf.faces?name=Joe
I created a managed bean at request scope, and this picks up the "name" parameter from the URL string. Is there a way, once I have received the parameter at request scope, refresh the page the session scope bean. Just to clarify, my request-scope bean and session-scope bean are referenced on the same JSP page. I want to receive the URL parameter via request scope bean, and then have the page behave as if one of the session-scope form fields has been updated.
I am trying to intercept a request scope parameter and have the session bean process it, and then update the page that the session bean backs.
Thanks so much.