Cross-Domain upload of images by WebUploader in IE9,
As the front-end, this time it step on the background xml configuration.
In IE9, images are uploaded through the flash plug-in and the http: // 192.168.0.8: 8888/crossdomain. xml request is always sent. The status code is 404 because crossdomain. xml is not configured on the image uploading server.
Configuration of crossdomain. xml in springMVC:
<? Xml version = "1.0" encoding = "UTF-8"?> <Cross-domain-policy> <allow-access-from domain = "*"/> </cross-domain-policy>
Crossdomain. xml is put under webapps/, webapps/ROOT/, webapps/project name/, webapps/project name/WEB-INF/respectively.
You can access crossdomain. xml from the following paths:
Http: // localhost: 8080/crossdomain. xml,
Http: // localhost: 8080/project name/crossdomain. xml
After the configuration is complete, you can send an Image Upload request.