对Java tutorial-examples中jsf hell1的web.xml配置文件的解析

 <?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
<context-param><!--描述了这个JSF应用程序在开发生命周期中的位置,有效值为 “ Development”,“ UnitTest”,“ SystemTest”或“ Production”-->
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<servlet><!--JSF核心控制器 Faces Servlet-->
<servlet-name>Faces Servlet</servlet-name><!--我们注册使用的组件名 Faces Servlet-->
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class><!--指向注册组件类的地址-->
<load-on-startup>1</load-on-startup><!--启动顺序,让这个servlet随servlet容器一起启动-->
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern><!--配置访问路径-->
</servlet-mapping>
<session-config><!--会话超时配置-->
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list><!--指定欢迎页面 index.xhtml-->
<welcome-file>index.xhtml</welcome-file>
</welcome-file-list>
</web-app>

最新文章

  1. JSFiddle
  2. android-sdk 开发连接不上
  3. DVDstore 数据库基准测试
  4. iOS开发中的错误整理,pod文件Install失败
  5. TLS学习总结
  6. jquery动态添加/删除 tr/td
  7. myecipse的debug调试操作方法
  8. 《JavaScript 闯关记》之原型及原型链
  9. WCF技术剖析之二十七: 如何将一个服务发布成WSDL[基于HTTP-GET的实现](提供模拟程序)
  10. 在Linux中让文本显示带颜色的字。
  11. Vue动态组件
  12. 【beta】阶段 第七次 Scrum Meeting
  13. Android基础夯实--你了解Handler有多少?
  14. vps install ss
  15. 题解-POI2007 OSI-Axes of Symmetry
  16. ida信息获取函数
  17. Linux 安装本地 yum源
  18. Stack Overflow 2016年度 20个最佳Python问题(一)
  19. extjs [1]
  20. NTP(Network Time Protocol)

热门文章

  1. Python7DAY-基础语法.md
  2. 第2章 ZooKeeper安装与启动
  3. Java常用面试题总结
  4. python base 64
  5. Velocity脚本入门教程
  6. Python 学习笔记:Python 连接 SQL Server 报错(20009, b&#39;DB-Lib error message 20009, severity 9)
  7. python代码技术优化
  8. C++ malloc()函数的注意点及使用示例
  9. c语言中,为什么以下程序直接按”Enter“也就是回车程序不结束?
  10. UML-如何迭代