I am developing a jsf-webapp and now I need to know what JSF-Version I am using? Where can I look this up? Thanks in advance.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Programmatically, you mean? You can get it from
Package#getImplementationVersion().There are by the way also
getImplementationVendor()andgetImplementationTitle()methods. You might want to use it as well in order to distinguish the vendor (MyFaces or Mojarra, for example).Or do you mean manually? Just look in
/META-INF/MANIFEST.MFfile of the JSF impl JAR file. You can extract the JAR file with a ZIP tool. It’s theImplementation-Versionentry of the manifest file.