I am trying to embed log file in a jsp page, for that I have tried and in both cases its not embeding. When i searched in SO, i found a link doing with jquery. but its also not working, it displayed the following message on console : Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. the below is my code:
<div id="myLogFile">
</div>
<script>
$(document).ready(function() {
    $.ajax({
        async:false,
        url: 'C:\Users\Documents\cmesLoading\spring_app_log_file.log',
        dataType: 'text',
        success: function(data) 
        {
        $('#myLogFile').append(data);
            }
        });
});
</script>
Can someone help me on this?
 
     
    