Richfaces 3.3.2 - JSF 1.2 - RAD 7.5 和 IBM WAS 7.0 中的 Facelets
我想知道在 RAD 7.5 和 WAS 7.0 下使用 JBoss richFaces (3.3.2) 和 SUN RI jsf 实现 (1.2) 以及 Facelets 的最佳方法是什么。我们在应用程序级别反转类加载器策略来获得此目的,但我不确定这是实现此目的的最佳方法(父级最后策略可能具有潜在的危害)。
谢谢
I'd like to know which is the best way to use JBoss richFaces (3.3.2) with SUN RI jsf implementation (1.2) under RAD 7.5 and WAS 7.0, with facelets. We inverted class loader policy at the application level to obtain this, but I'm not sure this is the best way to do it (parent last policy could be potentially harmful).
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IBM Webshere 附带了内置的 JSF 库,这些库的版本可能确实比您随 Web 应用程序附带的库的版本要旧。最简单的方法确实是让 web 应用程序附带较新的库并更改类加载策略以避免与较旧的内置 JSF 库发生冲突。仅当您覆盖 IBM/webshere 特定库(
com.ibm
包的库等)时,这才可能是有害的。其他解决方案是按照 IBM Websphere 升级服务/说明使用较新的库升级 Websphere。
IBM Webshere ships with builtin JSF libraries which may indeed be of an older version than the libraries you ship with your webapp. Easiest way is indeed to let the webapp ship with newer libraries and change the classloading policy to avoid collisions with the older builtin JSF libraries. This may only be harmful if you're overridding IBM/webshere specific libraries (the ones of
com.ibm
package and so on).Other solution is to upgrade Websphere with newer libraries as per IBM Websphere upgrade service/instructions.