Wednesday, January 29, 2014

How to run JSF 1.2 Application in JBoss AS 7.1.1 Final

In one of my earlier post I have described how can we upgrade the JSF version. Yesterday, I was being asked that how can we downgrade the version. So I created a sample project to do this. It is true that many of you have applications developed in older version of Java Server Faces, JSF 1.2 and if you want to run those application in JBoss AS 7.1.1 maybe these post will help you.
JBoss AS 7.1.1 comes with the backward compatibility of JSF 1.2. The required jars can be found in the following path:

jsf-impl: <path_to_your_server>/modules/com/sun/jsf-impl/1.2

jsf-api: <path_to_your_server>/modules/javax/faces/api/1.2

But you need to inform the server that your application is a JSF 1.2 application. To do this you need to: