gt;
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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 call some
>>>>>>>>>> other time.
>>>>>>>>>>
>>>>>>>>>> THis is my struts.xml
>>>>>>>>>> **
>>>>>>>>>>
>>>>>>>>>>login.jsp
>>>>>>>>>>login.jsp
>>>>>>>>>>/pages/main.jsp
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> /pages/dashboard.jsp
>>>>>>>>>>
>>>>>>>>>> ***
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Piero Sartini-3 wrote:
>>>>>>>>>>>
>>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>>> -
>>>>>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Why-does-update-action-fire-on-load-tf4670323.html#a13482612
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
;>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> zul;jami wrote:
>>>>>>>>>
>>>>>>>>> I have two methods in action extending actionsupport in struts2.
>>>>>>>>> WHen I lo
lso fires update another method which I want to call some other
>>>>>>>> time.
>>>>>>>>
>>>>>>>> THis is my struts.xml
>>>>>>>> **
>>>>>>>>
>>>>>>>
gt;>>
>>>>>>> login.jsp
>>>>>>>login.jsp
>>>>>>>/pages/main.jsp
>>>>>>>
>>>>>>>
>>>>>>> /pages/dashboard.jsp
>>>>>>>
>>>>>>> ***
>>>>>>>
>>>>>>>
>>>>>>> Piero Sartini-3 wrote:
>>>>>>>>
>>>>>>>> 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
>>>>>>>>
>>>>>>>> -
>>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Why-does-update-action-fire-on-load-tf4670323.html#a13423587
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
gt;>>>> time.
>>>>>>
>>>>>> THis is my struts.xml
>>>>>> **
>>>>>>
>>>>>>login.jsp
>>>>>>login.jsp
>>>>>>/pages/main.jsp
>>>>>>
>>>>>>
>>>>>>
ard.jsp
>>>>>
>>>>> ***
>>>>>
>>>>>
>>>>> Piero Sartini-3 wrote:
>>>>>>
>>>>>> Am Montag, 22. Oktober 2007 13:23:38 schrieb zul;jami:
>>>>>>> Still I am getting the error,
>>>>>>> my e
ini-3 wrote:
>>>>>
>>>>> 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 attribu
>>> 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
>>>>
>>>>
t only when you
>>> submit
>>> your data.
>>>
>>> Piero
>>>
>>> -----
>>> To unsubscribe, e-mail
ecute() is triggered when the action is called, not only when you
>> submit
>> your data.
>>
>> Piero
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
]
>
>
>
--
View this message in context:
http://www.nabble.com/Why-does-update-action-fire-on-load-tf4670323.html#a13402904
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
-
Still I am getting the error,
my execute also fires update on load.
There is no img tag with empty src attribute
--
View this message in context:
http://www.nabble.com/Why-does-update-action-fire-on-load-tf4670323.html#a13341641
Sent from the Struts - User mailing list archive at Nabble.com
login,it
calls execue and update as well.I will check for img tag with an empty src
attribute as u have told.If you get any idea pls helpregardsZul Jami> To:
user@struts.apache.org> From: [EMAIL PROTECTED]> Subject: Re: Why does update
action fire on load> Date: Mon, 15 Oct 2007 16
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
context:
http://www.nabble.com/Why-does-update-action-fire-on-load-tf4600249.html#a13134063
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
16 matches
Mail list logo