Ajax call through javascript

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


    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).


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.

“Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why.”