java - 无法访问已上传文件
阿神
阿神 2017-04-17 13:27:41
0
1
728
阿神
阿神

闭关修行中......

reply all(1)
左手右手慢动作

Actually, your description of the problem is not very clear. According to my understanding, there are some images in a certain directory of your java project. If you want to directly use the default domain name and image name, you cannot access the images

An important question is whether there are filters for separate processing of static resources in your project

Because no matter what framework you use, requests like http://xxx.b0.uppaiyun.com/sample.jpeg will be parsed by the framework and will not be accessed directly as static resources, so you can add filters to filter all Files ending in .jpg will be treated as static resources

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!