scalatra.web.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1"> <!-- This listener loads a class in the default package called Scalatra. That class should implement org.scalatra.LifeCycle. Your app can be configured in Scala code there. --> <listener> <listener-class>org.scalatra.servlet.ScalatraListener</listener-class> </listener> </web-app>