I am downloading Sun/Oracle Mojarra implementation of JSF from http://javaserverfaces.java.net/download.html
I downloaded the latest -2.1.9 binary. It comes with only one jar - javax.faces-2.1.9.jar.
I had a sample project which I believe is using the older 2.0 version, which includes 2 jars - jsf-api.jar and jsf-impl.jar.
I replaced those 2 older jars with the single new jar. It seems like the sample project still works well.
My question:
Is there anything else I need to do besides replacing those 2 jars???
Any special reason this is this changed from 2 jars to 1?
Thanks a lot.
MORE:
I noticed versions in my faces-config.xml
<?xml version="1.0"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0">
</faces-config>
I changed 2.0 and 2_0 to 2.1 and 2_1. The sample project still works. SHould I make these changes?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…