Are all "GET" requests to JSF "Initial Request"s?
Posted
by Pradyumna
on Stack Overflow
See other posts from Stack Overflow
or by Pradyumna
Published on 2010-05-27T09:36:43Z
Indexed on
2010/05/27
9:41 UTC
Read the original article
Hit count: 152
jsf
Hi,
In JSF 1.1, I am assuming that GET requests are treated as initial requests (resulting in the creation of a new view), and POST requests are treated as Postbacks (resulting in the restoration of the old view).
However, my application is behaving differently - it restores the same old view even for GET requests. Why does this happen? Is there a way to force the creation of a new view for GET requests?
(My state-saving method is 'server'. I'm using MyFaces with JSP, and I have a t:saveState on a managed bean in the view)
Regards,
Pradyumna
© Stack Overflow or respective owner