Ajax call through javascript

Ajax , HTTP Request , HTTTP Response India
  • 7 years ago

    **Hi,

    I am trying to make an HTTP Request through Javascript via Ajax.

    This javascript file is stored on to my local machine. I am trying to invoke a function in a java file which is on server.

    This method should return me an HTTTP Response back to the function in my local javascript file.

    I am able to post my request, invoke the method in java on the server (which uses Struts 2 Framework).

    However, I am not able to receive any HTTP Response into the local file variable.

    Please suggest.

    Varun **

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' but 'That's funny...'” - Isaac Asimov