Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Retrieve parameter from URL string and refresh session bean

843844Nov 18 2008 — edited Nov 18 2008
Hi. 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2008
Added on Nov 18 2008
4 comments
688 views