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.
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.
相关文章推荐
- PCI standard ISA birdge 驱动安装图文方法
- .NET 资源文件resx、Resources详细说明
- html的DOM中document对象images集合用法实例
- Mongoose源码剖析:外篇之web服务器
- ListActivity(三)
- C Standard Library (一)
- C Standard Library(二)
- 使用mysqldumpslow工具分析慢日志
- 微信公众平台开发 OAuth2.0网页授权认证
- Vbscript 编写SecureCRT脚本
- 如何优雅读取properties文件
- MYSQL Out of resources when opening file './xxx.MYD' (Errcode: 24) 解决
- Nokia N900 Tips
- Arquillian Cube Extension 1.0.0.Alpha1 发布
- Linux系统入门学习:改变libvirt VM镜像的默认位置
- What is “Cloud Computing”?
- fedora cloud image的使用
- <linux-sed> sed基本用法
- 区分Activity的四种加载(launchMode)模式
- 20 个大大节省你时间的 HTML5 开发工具