https://www.eclipse.org/jetty/documentation/current/reference-section.html#jetty-xml-call
Jan On 12 March 2015 at 02:46, <[email protected]> wrote: > Hi, > > I need to call the static Resource.newResource(...) (cf. > http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/util/resource/Resource.html) > method within this xml file. > > How do I do that? > > Cheers, > > Philippe > > > > <?xml version="1.0"?> > <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" > "http://www.eclipse.org/jetty/configure.dtd"> > <Configure class="org.eclipse.jetty.webapp.WebAppContext"> > <Set name="contextPath">/apdf0c</Set> > <Set name="handler"> > <New id="contextHandler0" > class="org.eclipse.jetty.server.handler.ContextHandler" > > <Set name="contextPath">/apdf0c</Set> > <Set name="handler"> > <New id="resourceHandler0" > class="org.eclipse.jetty.server.handler.ResourceHandler" > > <Set name="baseResource"> > -- Add Resource here --- > </Set> > </New> > </Set> > </New> > </Set> > </Configure> > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users -- Jan Bartel <[email protected]> www.webtide.com 'Expert Jetty/CometD developer,production,operations advice' _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
