java-ee - eclipse下ueditor上传图片到缓存,本地项目无上传的图片
大家讲道理
大家讲道理 2017-04-21 11:17:14
0
1
667

ueditor中插入图片,图片会保存到workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ueditor1_4_3-utf8-jsp\(其中workspace代表eclipse的默认工程路径,ueditor1_4_3-utf8-jsp是我的项目名称)
workspace\ueditor1_4_3-utf8-jsp(项目文件)中没有上传的图片。该怎么处理啊?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
洪涛

Because the server you add in eclipse has this cache path by default.
Double-click the tomcat item in the Server pane of eclipse, and look at the selected square area in the picture. There are three default options,
1. Use the workspace cache directory of eclipse, which is your situation
2. Use the tomcat installation directory
3. Customize the path, here you can choose the directory yourself

If you find that the three radio buttons are all gray and cannot be clicked
Method 1: Delete the tomcat below and add it again. Do not put any items in it. You can change it when you just create it
(You can change it directly without deleting it. I changed it before but forgot =.= )

Found:
Method 2: But if you need to modify this configuration, you need to remove all projects under the tomcat service first (remove all), right-click the clean command, and finally modify this configuration

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!