Hello,
the following test code shows, that prototypes Ajax object does not work with files (servlets are working) if IE7 is configured with native XMLHttp support (default setting).
<html><head>
<meta http-equiv="Content-Script-Type" content="text/javascript">
<script type="text/javascript" src="scripts/prototype.js"></script>
<script type="text/javascript">
function load()
{
new Ajax.Request('/your.file',
{
method:'get',
onSuccess: function(transport){
var response = transport.responseText || "no response text";
alert("Success! \n\n" + response);
},
onFailure: function(){ alert('Something went wrong...') }
});
}
</script>
</head>
<body onload="load();">
Ajax Test
</body></html>
Best regards,
Hagen T Seifert