Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6092751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:28:51+00:00 2026-05-23T12:28:51+00:00

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

  • 0

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

        });
    };
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:28:51+00:00Added an answer on May 23, 2026 at 12:28 pm

    You are calling the script from: C:\workspace\agilesearch-ui\agilesearch-ui\src\main\webapp\WEB-INF\pages\search.jsp

    And the page you are trying to reach is: C:\workspace\agilesearch-ui\agilesearch-ui\src\main\webapp\WEB-INF\pages\proxy.jsp

    Change your code to:

    var on_show_info_agile = function() {
                //alert("aa");
    var outOfDomainAjaxCall = search_agile_metadata + current_doc_info.id;
    alert(outOfDomainAjaxCall);
                request_meta_info = $.ajax({
                url: "proxy.jsp",
                data: "url=" + outOfDomainAjaxCall, //put the data here
                type: 'GET',
                success: on_get_metadata_agile,
                error: on_get_metadata_agile_error
    
        });
    
    
    
    };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my main page I have this jquery code which does an ajax call
I made this bookmarklet: javascript:(function(){var s=document.createElement('script');s.setAttribute('src','http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');document.getElementsByTagName('body')[0].appendChild(s);$('#hldIntMain').hide();$('#fadeBackground').hide();return false;})() Formatted code: // Add in jQuery var
I am writing jquery ajax code to call wcf service. In this case WCf
On document ready I run this code: jQuery(document).ready(function(){ jQuery('#button').click(function() { jQuery('#contact_form').load(/Users/mge/Downloads/jquery-ajax-1/readme.txt); return false; });
Is this a valid url parameter in jquery.ajax(), <script type=text/javascript> $(document).ready(function() { getRecordspage(); });
The following code inside the tags gives error: Object Expected. <!-- JQuery/AJAX--> <script type=text/javascript>
Simply this the code for PHP page the uses AJAX to upload file, but
This doesn't indicate any error in my javascript code, but in the downloaded jquery.js
I am using this JQuery Ajax Voting system guide as a rough reference but
I am loading feed-items into a ul using this jQuery .ajax() call, which I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.