JavaServer Faces Application

What Is a JavaServer Faces Application?

For the most part, a JavaServer Faces application is like any other Java web application. A typical JavaServer Faces application includes the following pieces:

  • A set of JSP pages (although you are not limited to using JSP pages as your presentation technology)

  • A set of backing beans, which are JavaBeans components that define properties and functions for UI components on a page

  • An application configuration resource file, which defines page navigation rules and configures beans and other custom objects, such as custom components

  • A deployment descriptor (a web.xml file)

  • Possibly a set of custom objects created by the application developer. These objects might include custom components, validators, converters, or listeners.

  • A set of custom tags for representing custom objects on the page

A JavaServer Faces application that includes JSP pages also uses the standard tag libraries defined by JavaServer Faces technology for representing UI components and other objects on the page.

JSF是什么?

大体上,JSF跟其他JavaWeb很像。一个典型的JSF包括下面几部分:

  • JSP页面(或其他页面技术)
  • 托管Bean,定义页面UI组件的属性和方法
  • 配置文件,定义页面导航规则和配置bean和其他
  • web.xml
  • 自定义objects,含有自定义组件,验证器,转换器和监听器
  • 自定义标签

JSF定义的标准标签库






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值