Assume page_B.jsf depends on page_A.jsf.

The backing bean for page_B.jsf has request scope.  The backing bean for 
page_A.jsf has session
scope.

In the constructor for the backing bean for page_B.jsf a check is made for the 
backing bean for
page_A.jsf.

If the user has first gone to page_A.jsf and made the selections, all is well. 
However, if the
user bookmarks page_B.jsf, the backing bean for page_A.jsf is not found and a 
null pointer is
thrown.

I know that Seam and the Spring webflow address these issues; however, as a 
simple stopgap, is it
possible to redirect to a page from the constructor of a backing bean; or is 
there a better way to
do this?

Thx.

Mike

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to