Javascript Function (Not using a form post) To Call Servlet (where no return values are needed)

I simply want to call a servlet from a javascript function. My javascript function is not part of a form post.
The javascript function gets called from a Flash client actually. My servlet takes a few parameters and is
expected to simply perform an update on the server side. No html is returned for display and is not needed.

This doesn't work. What is the easiest way to do this? It needs to make the call and NOT WAIT for a response, as I my client is displaying a Flash container, and I do not want execution cycles waiting for
a return.

Please do not get involved in what my Flash client is doing and why I have it....I just need the javascript
to servlet solution without WAIT.

Your URL points me to a solution that is meant to update part of the DOM for changing the display
of the form. I want a call to a servlet that does not call a callback() function. In the example the validate()
function calls the server side. That is good, but I don't want anything called back on the Javascript side.

and the AJAX solution. The former actually redirects the browser to the URL for the servlet, which is
completely undesirable. The latter (your AJAX solution) calls the servlet as expected without any
redirection.

Featured Post

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

The task
A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome.
So let’s take a number like this “12345678.91¿ and format i…

Introduction
This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…

The viewer will learn the basics of jQuery, including how to invoke it on a web page.
Reference your jQuery libraries: (CODE)
Include your new external js/jQuery file: (CODE)
Write your first lines of code to setup your site for jQuery.: (CODE)