简体   繁体   中英

How to use ajax in oracle adf using jdeveloper?

I want to use an ajax method in jedeveloper jsp page just like the below example. How can i achieve it ?

$.ajax({
   type: 'GET',
   dataType: 'json',
   url: myBean.someMethod,
   success: function(responseData)
   {
      var dt = responseData.toString();
   },
   error: function(msg) {
          var dt = msg.toString();
          alert(dt);
   }
});

Do not use your own AJAX code in ADF. ADF is already using a lot of AJAX; your own code is likely to interfere with ADF standard functionality, leading to hard-to-find errors.

What are you trying to achieve? There is surely and ADF way of doing it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM