In the fragment. On Tue, Jun 8, 2010 at 12:49 PM, Stéphane Jeanjean <stephane.jeanj...@softeam.com> wrote: > Hi all, > > I try to add a Handler to Jetty embeded in pax-web but I don't know where to > put my class. > I put my configuration (jetty.xml) in a fragment as described here > http://wiki.ops4j.org/display/paxweb/Advanced+Jetty+Configuration > But I don't know where to put my class that implements the handler, here is > my jetty.xml : > > <Set name="handler"> > <New id="Handlers" class="com.mycompany.jetty.ForceHttpsHandlerCollection"> > <Set name="handlers"> > <Array type="org.mortbay.jetty.Handler"> > <Item> > <New id="Contexts" > class="org.mortbay.jetty.handler.ContextHandlerCollection"/> > </Item> > <Item> > <New id="DefaultHandler" > class="org.mortbay.jetty.handler.DefaultHandler"/> > </Item> > </Array> > </Set> > </New> > </Set> > > Any idea where to put com.mycompany.jetty.ForceHttpsHandlerCollection ? > > Thanks, > > Stéphane > > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general >
-- Alin Dreghiciu Software Developer My profile: http://www.linkedin.com/in/alindreghiciu My blog: http://adreghiciu.wordpress.com http://sonatype.com - Sonatype - The Maven Company http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general