Search in sources :

Example 1 with JettyJasperInitializer

use of org.eclipse.jetty.apache.jsp.JettyJasperInitializer in project opennms by OpenNMS.

the class OpenNMSWebAppProvider method jspInitializers.

private static List<ContainerInitializer> jspInitializers() {
    final List<ContainerInitializer> initializers = new ArrayList<>();
    JettyJasperInitializer sci = new JettyJasperInitializer();
    ContainerInitializer initializer = new ContainerInitializer(sci, null);
    initializers.add(initializer);
    return initializers;
}
Also used : ArrayList(java.util.ArrayList) ContainerInitializer(org.eclipse.jetty.plus.annotation.ContainerInitializer) JettyJasperInitializer(org.eclipse.jetty.apache.jsp.JettyJasperInitializer)

Example 2 with JettyJasperInitializer

use of org.eclipse.jetty.apache.jsp.JettyJasperInitializer in project mysql_perf_analyzer by yahoo.

the class App method jspInitializers.

private List<ContainerInitializer> jspInitializers() {
    JettyJasperInitializer sci = new JettyJasperInitializer();
    ContainerInitializer initializer = new ContainerInitializer((ServletContainerInitializer) sci, null);
    List<ContainerInitializer> initializers = new ArrayList<ContainerInitializer>();
    initializers.add(initializer);
    return initializers;
}
Also used : ArrayList(java.util.ArrayList) JettyJasperInitializer(org.eclipse.jetty.apache.jsp.JettyJasperInitializer) ServletContainerInitializer(javax.servlet.ServletContainerInitializer) ContainerInitializer(org.eclipse.jetty.plus.annotation.ContainerInitializer)

Aggregations

ArrayList (java.util.ArrayList)2 JettyJasperInitializer (org.eclipse.jetty.apache.jsp.JettyJasperInitializer)2 ContainerInitializer (org.eclipse.jetty.plus.annotation.ContainerInitializer)2 ServletContainerInitializer (javax.servlet.ServletContainerInitializer)1