问题
Where can i find a jsf-impl for my jsf 2 webapp ?
In maven's repo i got the 1.2 version.
In the http://download.java.net/maven/2/javax/faces/, i can see only the jsf-api, but no jsf-impl
Im currently using tomcat 7, and experimenting with primefaces.
Thank you !
UPDATE
I've been able to get both the api and the impl using this, but im still not sure which impl i should really use :
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.0.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.0.3</version>
<scope>compile</scope>
</dependency>
UPDATE
Sorry for not being clear, but it's not only about which version i should use.
I was doubtful because :
- I notice the existence of 2 groupIds of javax.faces and com.sun.faces
- I dont see the jsf-impl from the maven repository
- What repository i should use to get the newest version
Thank you :-) !
回答1:
My suggestion is to use jsf-api and jsf-impl version 2.0.4. Because it has lot of bugfixes and improvements over 2.0.3.
You can download them from this page at this link. And have a look at the MigrationGuide also.
来源:https://stackoverflow.com/questions/5337325/which-jsf-impl-should-i-use