I have a JSP (some.jsp) which is mapped to a backing bean (SomeBean.java).  The 
scope is set to
"request".

In some.jsp there are five h:outputLink tags each with its own f:param tags.  
The "value" for each
of the h:outputLink tags is some.jsp.  When a link is clicked I want to set the 
param values into
the backing bean and redisplay the page showing the new values (I am doing this 
in the constructor
of SomeBean.java).

This only works on the first time I click a link, even though the scope of 
SomeBean.java is
definitely set to request.

The very weird thing about this is that when I trace the code, the new param 
values are definitely
being set in a new SomeBean.java, and then (through some sort of black magic) 
the old values from
the previous request are mapped back into the new bean.

I thought that if I set the scope of the backing bean to "request", the backing 
bean would not
persist beyond requests.

Can anyone explain what is going on and possibly offer a solution?

Thx.

Mike



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

Reply via email to