Re: Why does update action fire on load

2007-10-29 Thread zul;jami
I found that it goes to main.jsp, and update is called at once. I have written code to call update only on change of select. THis is code in my jsp. *** images/dashboard.jpg

Re: Why does update action fire on load

2007-10-26 Thread Igor Vlasov
>From this point of view I can not properly investigate the problem. May be run in debug mode and analyse when and where method "update" is called. or make manually a NUllPointerError and see the stack trace. zul;jami wrote: > > yes that is what i did I use only > >login.jsp

Re: Why does update action fire on load

2007-10-26 Thread zul;jami
yes that is what i did I use only login.jsp login.jsp /pages/main.jsp /pages/dashboard.jsp BUt still update is fired on login. Igor Vlasov wrote: > > If you use only > > >login.jsp >login.jsp >/pages/main.jsp >/pages/dashboard.j

Re: Why does update action fire on load

2007-10-26 Thread Igor Vlasov
If you use only login.jsp login.jsp /pages/main.jsp /pages/dashboard.jsp the update action called when login_update.jspa is called or press on zul;jami wrote: > > After deleting the second binding also I got the same error. > > > > Igor Vlasov wrote: >

Re: Why does update action fire on load

2007-10-26 Thread zul;jami
After deleting the second binding also I got the same error. Igor Vlasov wrote: > > You have to delete second binding... > > zul;jami wrote: >> >> I have not deleted.instead I gave >> >> >>login.jsp >>login.jsp >>/pages/main.jsp >> >> >> /pages/das

Re: Why does update action fire on load

2007-10-26 Thread Igor Vlasov
You have to delete second binding... zul;jami wrote: > > I have not deleted.instead I gave > > >login.jsp >login.jsp >/pages/main.jsp > > > /pages/dashboard.jsp > > > But still update is fired when logging in. > What do you mean by . > Both m

Re: Why does update action fire on load

2007-10-26 Thread zul;jami
I have not deleted.instead I gave login.jsp login.jsp /pages/main.jsp /pages/dashboard.jsp But still update is fired when logging in. What do you mean by . Both methods return SUCCESS only. Igor Vlasov wrote: > > Are you sure that you delete

Re: Why does update action fire on load

2007-10-26 Thread Igor Vlasov
Are you sure than you delete: /pages/dashboard.jsp When call login_input.jspa then "input" method called When call login.jspa then "execute" method called. zul;jami wrote: > > After changing my struts.xml as you said > also my action fires execute and also update. >

Re: Why does update action fire on load

2007-10-26 Thread zul;jami
After changing my struts.xml as you said also my action fires execute and also update. I do not want to fire update.Pls help Igor Vlasov wrote: > > I use > >login.jsp >login.jsp >/pages/main.jsp >/pages/dashboard.jsp > > > > > zul;jami wrote: >> >> I h

Re: Why does update action fire on load

2007-10-26 Thread Igor Vlasov
I use login.jsp login.jsp /pages/main.jsp /pages/dashboard.jsp zul;jami wrote: > > I have two methods in action extending actionsupport in struts2. > WHen I login it should execute only the execute method.BUT > it also fires update another method which I want to

Re: Why does update action fire on load

2007-10-25 Thread zul;jami
I have two methods in action extending actionsupport in struts2. WHen I login it should execute only the execute method.BUT it also fires update another method which I want to call some other time. THis is my struts.xml ** login.jsp login.jsp /pages/main.jsp

Re: Why does update action fire on load

2007-10-23 Thread Piero Sartini
Am Montag, 22. Oktober 2007 13:23:38 schrieb zul;jami: > Still I am getting the error, > my execute also fires update on load. > There is no img tag with empty src attribute execute() is triggered when the action is called, not only when you submit your data. Piero -

Re: Why does update action fire on load

2007-10-15 Thread Laurie Harper
zul;jami wrote: I am using struts2+spring+jpa+ajax+sitemesh WHile onload only execute method should be called, but update is also called.Why this is my struts.xml login.jsp login.jsp /pages/dashboard_main.jsp /pages/dashboard.jsp This is just a g