eclipse的web目錄及各作用

There are two types of Web projects:dynamic and static.


Dynamic web projects can contain dynamic java EE resource such as:

    1.servlets

    2.JSP files

    3.filters

    4.static resources,suach as images and HTML files

    5.associated metadata


static web projects only contaions static resources.

===========================================================================================


**Web Deployment Descript

    The standard Web application deployment descriptor


**JavaSource

    Contains the project's Java source code for classes,beans, and servlet.

    When these resources are added to a Web project,they are automatically compiled and the generated files are added to the WEB-INF/ classdirectory 


**imported_class folder

    This folder may be created during a WAR import


**WebContent folder

    The mandatory location of all Web resources,including HTML,JSP,graphic files

and so on.If the files are not placed in this directory or in a subdirectory structure under this directory,this files will not be available when the application is executed on a server. 


****META-INF:

    This directory contains the MANIFEST.MF file,which is used to map class paths for dependent JAR files that exist in other projects in the same Enterprise Application project.


****WEB-INF:

    this directory contains the supporting Web resources for a Web application,including the web.xml files and the classes and lib directories.

    

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章