org.apache.struts2.quickstart
Class JettyServer

java.lang.Object
  extended by org.apache.struts2.quickstart.JettyServer

public class JettyServer
extends java.lang.Object

To start a Jetty server used by the QuickStart application.


Field Summary
static java.lang.String WEBAPPS_DIR_PROPERTY
          The system property name used to specify a directory of webapps.
 
Constructor Summary
JettyServer()
           
 
Method Summary
static void startServer(int port, java.lang.String context, java.util.List pathPriority, java.util.Map paths, java.lang.String resolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBAPPS_DIR_PROPERTY

public static final java.lang.String WEBAPPS_DIR_PROPERTY
The system property name used to specify a directory of webapps.

See Also:
Constant Field Values
Constructor Detail

JettyServer

public JettyServer()
Method Detail

startServer

public static void startServer(int port,
                               java.lang.String context,
                               java.util.List pathPriority,
                               java.util.Map paths,
                               java.lang.String resolver)
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.