说明
当后端开发人员向项目中导入由美工写好的静态页面时,经常会出现由于资源路径原因出现的路径错误,大多是由于CSS样式等造成的问题,如下图
这种路径问题不止一处,逐个改起来非常麻烦,这时候可以使用eclipse自带的全局搜索方式,进行统一修改
解决步骤
一、打开任意错误页面,选中错误行,Ctrl + C 复制

二、使用快捷键 Ctrl + h 进行全局搜索

三、选择File Search 栏


四、再点击Replace按钮


五、将需要统一修改后的路径填写到With空处,点击确定按钮
这样就可以统一修改错误了
