最好的选择将是应用程序迁移到支持JSF 2.2,这应该不是非常困难。有一些IBM文档here用于将您的应用程序从JSF 1.2迁移到JSF 2.0。但是,由于您的应用程序已经使用Facelets,因此您应该可以通过配置更改来迁移您的应用程序; this answer中的说明可能会更有帮助。
也可以将WebSphere配置为使用第三方JSF提供程序 - 在这种情况下,您可以为您的应用程序提供您自己的JSF 1.2版本。该文件是here
说明提供自定义JSF实现:
Add the third-party listener to the web.xml file.
Add the third-party JSF implementation Java™ archive (JAR) files and its required dependant JAR files to the application as an isolated shared library and associate it with your application:
Move the JSF JAR files and all third-party libraries referenced by the JSF JAR files and UI component plug-ins (for example, PrimeFaces) to a directory outside of the application.
Create the isolated shared library. See topic Creating shared libraries for information about how to create the shared library.
Ensure that the classloader is set to PARENT_FIRST, the default value. To view the current configuration in the administrative console panel, click Applications > Application Types > WebSphere enterprise applications > application_name > Class loading and update detection.
这将是“非常困难” ......我们使用JSF 1.2+小面,预JSF2.0 + RichFaces的V3是与JSF 2.x +不兼容。我们较新的应用程序使用JSF 2.2 + primefaces ..另外,您提供的链接解释了如何在WAS v9.0中部署自定义JSF 2.x实现,而不是部署自定义jSF 1.2实现 – titou10
我链接到的文档用于部署自定义实现中没有提到仅限于JSF 2.x;部署JSF 1.2应该可以正常工作。我会用这些步骤更新答案。 – wtlucy