转贴:http://www.ceapet.com/topic34.html

 

能够看到Richfaces的卓越表现,的确让人兴奋,不过官方的Demo确实太大,如何在自己的项目中使用Richfaces呢?在本课中,将实现这一
目标。

首先,在
tomcat\webapps创建一个项目,目录格式如下:
demo
demo\index.jsp
demo\index.xhtml
demo\web-inf
demo\web-inf\classes
demo\web-inf\lib
demo\web-inf\faces-config.xml
demo\web-inf\web.xml

index.jsp、index.xhtml、faces-config.xml、web.xml请从附
件中下载。

files.zip
(2.22 KiB) 还未被下载

其次,将所需的jar拷贝到web-inf\lib下
commons-beanutils-1.7.0.jar
commons-collections-3.1.jar
commons-digester-1.8.jar
commons-logging-1.0.4.jar
gravel.jar
jsf-api.jar
jsf-facelets.jar
jsf-impl.jar
richfaces-api-3.3.1.GA.jar
richfaces-impl-3.3.1.GA.jar
richfaces-ui-3.3.1.GA.jar

lib.zip
(794.37 KiB) 还未被下载
lib2.zip
(1.48 MiB) 还未被下载

richfaces jar 到http://www.jboss.org/richfaces/download/stable.html下载 

 

版权声明:本文为liuzhengdao原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/liuzhengdao/archive/2010/01/12/1644781.html