dimanche 26 mai 2019

Ie browser, on the resource path loading problem

This is an example:

http://www.test.com/project/Index_Action!getAll.action

Google browser and firefox browser access to this URL all the resources are loaded out。

But Internet explorer browser access, appear Failed to load resource: the server responded with a status of 404 ()

Problem

The URL is missing /project

I tried the following:

I added /project manually, but IE still ignored it

<% String path=request.getContextPath();
String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/project/";%>

In ie, how to prevent the lack of a URL path?




Aucun commentaire:

Enregistrer un commentaire