Bean constructor is being called twice (probably bean is created twice...). The weird thing is, that the request to the page contains a parameter. The first time the constructor is called, I get the parameter from the request (in the constructor). The second time the constructor is called, the getting the request parameter returns null.
Guy. On Sat, Jul 11, 2009 at 3:42 PM, Jan-Kees van Andel < jankeesvanan...@gmail.com> wrote: > What do you mean with "being called twice"? You don't call a bean, but > instantiate a bean and call methods or properties on it. Is a method > or property being called twice? Or do you get two bean instances > within one request? > > Regards, > Jan-Kees > > > 2009/7/10 Mamallan Uthaman <mamallan.utha...@oracle.com>: > > Hi Guy, > > > > You can install fiddler to monitor the traffic between the browser and > the > > server. By using fiddler, you can make sure that your page is not called > > twice. > > > > Thanks > > Mamallan > > > > Guy Bashan wrote: > >> > >> I am not using JSF navigation mechanism. > >> This page is accessed directly by pressing a link. > >> > >> On Fri, Jul 10, 2009 at 4:40 PM, Rajneesh K Rajput < > rajne...@contata.com > >> <mailto:rajne...@contata.com>> wrote: > >> > >> > >> Have you put </redirect> on the navigation for this specific bean? > >> > >> > >> bashan wrote: > >> > > >> > Hi, > >> > > >> > In one of the pages of my application there is a page in which > >> the bean > >> > (request scope) is being called twice. > >> > Is there a way for examining why this thing happens? > >> > > >> > Thanks, > >> > Guy. > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/-MyFaces--Core--tp24411347p24427833.html > >> Sent from the MyFaces - Users mailing list archive at Nabble.com. > >> > >> > > >