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

Reply via email to