.ajax url u,jQuery AJAX url path

This is my jQuery AJAX code and this javascript file is placed in

C:\workspace\search-ui\search-ui\src\main\webapp\themes\client\javascript\agile.js

And I want to call proxy.jsp file from this jQuery AJAX, and my jsp file is in

C:\workspace\search-ui\search-ui\src\main\webapp\WEB-INF\pages

so what will be the url field of AJAX call.. Any suggestions will be appreciated..

This AJAX jquery code is in Javascript file called agile.js and I have to call proxy.jsp page from this javascript file

var on_show_info = function() {

var outOfDomainAjaxCall = search_metadata + current_doc_info.id;

alert(outOfDomainAjaxCall);

request_meta_info = $.ajax({

url: "proxy.jsp?url=" + outOfDomainAjaxCall,

type: 'GET',

success: on_get_metadata,

error: on_get_metadata_error

});

};

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324029872&siteId=291194637