If you have ever wondered which version of Mojarra is running on the container you can determine what version is running using a simple piece of code. How?
The following code snippet shows you how!
FacesContext.getCurrentInstance().getClass().getPackage().getImplementationVersion()
Posted December 4, 2013