request scoped bean invoked again
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zohar_amir
Posted On:   Thursday, June 19, 2008 05:02 AM

Hi, I have a jsp which contains the following code: bean1 is this form's backing bean and it is request scoped. What I notice is that bean1 is constructed once when the form is displayed, but also a second time before the actionListener ( update ) is invoked. As a result the second request to the bean (the HTTP request) does not contain what it originally did anymore. Can anyone please explain this behavior (and offer a solution...). Thanks, Zohar    More>>

Hi,
I have a jsp which contains the following code:







bean1 is this form's backing bean and it is request scoped.

What I notice is that bean1 is constructed once when the form is displayed, but also a second time before the actionListener ( update ) is invoked.



As a result the second request to the bean (the HTTP request) does not contain what it originally did anymore.


Can anyone please explain this behavior (and offer a solution...).

Thanks,

Zohar

   <<Less
About | Sitemap | Contact