在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
(项目文件)中没有上传的图片。该怎么处理啊?
PHP中文网2017-04-21 11:19:14
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