0
生成
我学习Java EE,和我使用的是书上说,对于一个Web应用程序的标准目录结构:差异对Eclipse的
MyApp/:Here, the view of my App (Resources that can be directly requested)
.xhtml Files
.jsp Files
MyApp/WEB-INF:
web.xml file for deployment instructions of the webapp
MyApp/WEB-INF/lib:
Here, the external jars (API, Frameworks,etc) used by the webapp
MyApp/WEB-INF/classes:
.class Files (Compiled classes for my webapp)
这是工作完美。但是,现在,我开始使用eclipse来处理JEE。我创建了一个dinamyc web项目。并且该项目生成的结构目录是:
MyApp/
MyApp/build
MyApp/src
MyApp/WebContent
MyApp/WebContent/META-INF
MyApp/WebContent/WEB-INF
MyApp/WebContent/WEB-INF/lib
是的,上面也有效。但是,为什么eclipse不遵循规范?服务器(Apache Tomcat)知道各种类型的目录结构吗?我可以在哪里学习?
感谢的提前
建立你的项目后,它也会创建相同的东西@Matias W. – Sreemat