Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cancel ajax call at server

843840Sep 4 2010
Hi all,

I am making an application using jsp, java, hibernate and got a problem that i coundnt figure it out so far.

My application uses many ajax call at pages, you can think it like facebook style calls,
When I press a button to get data from server with ajax, I hibernate query runs at server side. Then if I press another button to get new request I can not cancel previous request at client and server. (I used.session.cancelQuery and didnt worked, ajax.abort() didnt worked at client)


How can handle that?

thanks...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2010
Added on Sep 4 2010
0 comments
230 views