问题描述
我需要更改默认的Eclipse WTPWeb资源动态文件夹。目前它指向WebContent,我需要指向src\main\webapp。
I need to change the default Eclipse WTP "Web Resources" dynamic folder. Currently it points to WebContent, and I need to point to src\main\webapp.
推荐答案
我找到了解决方案:
在项目文件夹中的.settings文件夹下,有一个名为org.eclipse.wst.common.component的文件,其中更改行< wb-resource deploy-path = /source-path =/ WebContent/>
与< wb-resource deploy-path =/source-path =/ src / webapp/>
。
I found the solution:Under .settings folder in your project's folder, there is a file named "org.eclipse.wst.common.component", inside it change the line <wb-resource deploy-path="/" source-path="/WebContent"/>
with <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
.
这就是!
这篇关于如何更改默认的Eclipse WTP“Web资源”动态文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!