Wyatt Matthews

Greenhorn
+ Follow
since Aug 31, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Wyatt Matthews

I would usually submit my Ajax request to either a servlet or an action on the server. I am not familiar with submitting to a jsp. Is it possible that the client is caching the jsp for some reason? Try to expire the content on the JSP, by setting the caching headers. I am curious if this will resolve the issue.

Good luck, and keep us posted.
There are several of open source javascript libraries available that will handle the implementation of the XMLHttpRequest object to ensure cross-browser compatability. Prototype.js is a good library to look into. Using a library can be helpful from the standpoint that you do not necessarily need to know all the dirty details of how the request is being created. However, it is important to understand the theory behind Ajax, and how it is supposed to be used. You can find the prototype library at http://prototype.conio.net/.

Good luck.
You could consider submitting a request to the IIS server from the Tomcat server, and then when the Tomcat server recieves the response from IIS, return the response from the Tomcat instance. In doing this, you are not asking the client/browser to make the cross domain connection (which is not possible for good reason), you are allowing the server to handle the cross domain issues for you.

Good luck.