Paul White
Paul White

Reputation: 53

Why does tomcat work with Facelets?

The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.

Source: http://tomcat.apache.org/

So it is a implementation of the JavaServer Pages technology, but it does not say that it is a implementation of the Facelets technology. Why does tomcat still work with XHTML-files?

Upvotes: 0

Views: 262

Answers (2)

Facelets are implemented in code. This code can either be provided inside the webserver itself (which is what larger webservers like Glassfish do) or brought along with the rest of your code in the deployed WAR files.

You will need to add the necessary configuration for it to work. The exact details depend on the path chosen.

Upvotes: 0

Tibor Blenessy
Tibor Blenessy

Reputation: 4420

Facelets are part of JSF framework, and are implemented by JSF library you are using. More info http://docs.oracle.com/javaee/6/tutorial/doc/gijtu.html

Upvotes: 1

Related Questions