You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kavita Mehta <Ka...@hsc.com> on 2007/05/16 15:30:08 UTC
AJAX query
I have a code in JSP file
<span id="oamHeaderDateTimeInfo"><%= userDate() %></span>
and I'm updating it using AJAX . but surprisingly, the control doesnt go
to this userDate() function again ..due to which my date time is not
gettingupdated .
Pls help.
Thanks
Kavita
*****************************************************DISCLAIMER*****************************************************
This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers.
Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is
addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward,
print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error,
please notify the sender immediately and delete the message.
********************************************************************************************************************
Re: AJAX query
Posted by Kavita Mehta <Ka...@hsc.com>.
thanks ..it was the previous case only .
"Frank W. Zammetti" <fz...@omnytex.com>
05/16/2007 07:11 PM
Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>
To
Struts Users Mailing List <us...@struts.apache.org>
cc
Subject
Re: AJAX query
When you say your "updating it using AJAX", do you mean you are making
an AJAX request and putting the results into oamHeaderDateTimeInfo? Or
do you mean you are making an AJAX request who's response is generated
by this JSP? If the former, then it makes perfect sense: userData() is
a server-side function and would absolutely not be executed again... if
the later, we may need further details to know because it certainly
appears that it should be working as you expect.
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@hotmail.com
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
(2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
Kavita Mehta wrote:
> I have a code in JSP file
> <span id="oamHeaderDateTimeInfo"><%= userDate() %></span>
>
> and I'm updating it using AJAX . but surprisingly, the control doesnt go
> to this userDate() function again ..due to which my date time is not
> gettingupdated .
> Pls help.
>
>
> Thanks
> Kavita
>
>
>
>
>
*****************************************************DISCLAIMER*****************************************************
>
> This message and/or attachment(s) contained here are confidential,
proprietary to HUGHES SYSTIQUE and its customers.
> Contents may be privileged or otherwise protected by law. The
information is solely intended for the entity it is
> addressed to. If you are not the intended recipient of this message, it
is strictly prohibited to read, forward,
> print, retain, copy or disseminate this message or any part of it. If
you have received this e-mail in error,
> please notify the sender immediately and delete the message.
>
>
********************************************************************************************************************
>
>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 5/15/2007
10:47 AM
--
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
*****************************************************DISCLAIMER*****************************************************
This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers.
Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is
addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward,
print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error,
please notify the sender immediately and delete the message.
********************************************************************************************************************
Re: AJAX query
Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
When you say your "updating it using AJAX", do you mean you are making
an AJAX request and putting the results into oamHeaderDateTimeInfo? Or
do you mean you are making an AJAX request who's response is generated
by this JSP? If the former, then it makes perfect sense: userData() is
a server-side function and would absolutely not be executed again... if
the later, we may need further details to know because it certainly
appears that it should be working as you expect.
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@hotmail.com
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
(2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
Kavita Mehta wrote:
> I have a code in JSP file
> <span id="oamHeaderDateTimeInfo"><%= userDate() %></span>
>
> and I'm updating it using AJAX . but surprisingly, the control doesnt go
> to this userDate() function again ..due to which my date time is not
> gettingupdated .
> Pls help.
>
>
> Thanks
> Kavita
>
>
>
>
> *****************************************************DISCLAIMER*****************************************************
>
> This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers.
> Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is
> addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward,
> print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error,
> please notify the sender immediately and delete the message.
>
> ********************************************************************************************************************
>
>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 5/15/2007 10:47 AM
--
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org