commit | 2780b86abdca8ab3091d657aef8009b4c0e79281 | [log] [tgz] |
---|---|---|
author | Thomas Andraschko <tandraschko@apache.org> | Thu Feb 20 13:44:16 2020 +0100 |
committer | GitHub <noreply@github.com> | Thu Feb 20 13:44:16 2020 +0100 |
tree | e34e168639cbb3d7f49362da209592dffe7abe51 | |
parent | 0ded358557b08d244c2576e3b9f5140ba03f3d7d [diff] |
Create README.md
Apache's implementation of the JavaServer Faces specification
Servlet 4.0 will enable JSF 2.3 to serve resources via HTTP/2 push.
2.3-next equals the JSF 2.3 API but delegated @ManagedBeans to CDI. The implementation of the old FacesEL (javax.faces.el.*) has been completely removed.
mvn clean install
```xml <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-api</artifactId> <version>2.3-next-M1</version> </dependency> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-impl</artifactId> <version>2.3-next-M1</version> </dependency> ```
```xml <servlet> <servlet-name>facesServlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>facesServlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping> ```
```xml <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui"> <h:head> </h:head> <h:body> Hello World! </h:body> </html> ```