Skip to Main Content

Java Development Tools

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!

How to cancel a search

scottjhnOct 3 2007 — edited Oct 3 2007
There are 2 buttons on a JSP page: One is called Search, another is called Cancel.

When the Search button is pressed, it will trigger an AJAX call, this ajax will call a Java function, while this java function makes a function call to the Oracle database (store procedure/function).

This searching process will take a while... At the mean time, the user wants to cancel the searching. So the user pressed the Cancel button.

Here, I want this cancel process to do two things: 1) to cancel the call to Oracle database; 2) to cancel the Ajax process;

How can I do that?

Thanks

Scott
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2007
Added on Oct 3 2007
1 comment
701 views