Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

ajax problem

Thread view: 
arvind - 15 Jul 2006 07:56 GMT
hi all,

i am working on java-jsp-ajax application and using MS-SQL database.
when i do any update operation using front screen(in html),it gets
updated in the database but it dosen't show those updates in the
front end.

THE UPDATES ARE SEEN ONLY WHEN THE "EVERY TIME VISIT TO THIS PAGE"
option in "Tools /Internet Options /Settings " of the toolbar is SET.
OR ELSE I HAVE TO CLOSE THE BROWSER AND THEN OPEN A NEW ONE TO GET THE
UPDATES .

i can never know what option my client has set on his terminal.

what could be solution so that my code will be independent of the
internet setting?
please help me out as i am in a great hurry!

thank you.
Greger - 15 Jul 2006 11:54 GMT
> hi all,
>
[quoted text clipped - 15 lines]
>
> thank you.
what happened when you tried the approach jasons recommended to you
yesterday?
Signature

QxRSSReader v1.2.6a released (30-06-2006)
http://www.gregerhaga.net/
There are no stupid questions, only stupid answers.

arvind - 15 Jul 2006 14:17 GMT
hi Greger,
i tried Jason's solution.
but, the problem is still not solved.
the values retrieved are the older ones.
please send some solution.

> > hi all,
> >
[quoted text clipped - 21 lines]
> http://www.gregerhaga.net/
> There are no stupid questions, only stupid answers.
None - 16 Jul 2006 06:38 GMT
Are you POSTing or GETing?  Especially in IE, if you GET, it caches a
bit too aggressively.  Either do a POST, which is never cached, or
append some dummy parameter to your query string, say new Date(), so
that the URL requested is always unique.  I don't know if this is the
problem your seeing, but this is a common thing that trips people up
when they first work with AJAX.

>hi Greger,
>i tried Jason's solution.
[quoted text clipped - 27 lines]
>> http://www.gregerhaga.net/
>> There are no stupid questions, only stupid answers.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.