Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
org.mortbay.jetty.Server server = new Server();
org.mortbay.jetty.nio.SelectConnectorSelectChannelConnector connector = new SelectConnectorSelectChannelConnector();
connector.setPort(8080);
server.setConnectors (new Connector[]{connector});
WebAppContext wah = new WebAppContext();
wah.setContextPath("/myspecialapp);
wah.setWar("file:///tmp/myspecialapp.war");
server.addHandler(wah);
server.start();

...

Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery