...
The key point is that when a script makes an "Ajax request" (XHR), the server doesn't know it came from a script, and handles it like any other responserequest. One reason Ajax is so successful is that it works just fine with existing server technologies, including Struts.
...