One way would be to programmatically extract the implementation detail from the Package
information of an arbitrary JSF class, such as FacesContext
.
Package p = FacesContext.class.getPackage();
System.out.println(p.getImplementationTitle() + " " + p.getImplementationVersion());
Another way would be to explore the JSF module in /wlserver/modules
folder of WebLogic installation. In my 12c installation, the filename says glassfish.jsf_1.0.0.0_2-1-20.jar
, which in turn identifies Mojarra 2.1.20.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…