您的位置:首页 > 编程语言 > Java开发

eclipse的web目录及各作用

2015-07-24 13:58 483 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  images resources standard