Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jsp configuration class

Hi, 

There appears to be a number of ways to configure annotations, jsp support programmatically in the jetty embedded. i.e. Configuration.ClassList. 

I have gone for this implementation. 
Is there a one liner  new class I can insert in this code  to add for JSP  functionality followed by corresponding libraries in the pom.xml ?

context.setConfigurations(new Configuration[]
        {
            new AnnotationConfiguration(),
            new WebInfConfiguration(),
            new WebXmlConfiguration(),
            new MetaInfConfiguration(),
            new FragmentConfiguration(),
            new EnvConfiguration(),
            new PlusConfiguration(),
            new JettyWebXmlConfiguration()
        });
Regards



Back to the top