@WebListener public class ServerBootstrap extends Object implements ServletContextListener
To start the server on http://localhost:8080/,
$ mvn jetty:run-war
Then connect to http://localhost:8080/test/ using any test suite client. Also, this web server serves up test suite client running on browser written in JavaScript that is used to develop portal.js. Open http://localhost:8080 in your browser to run the test suite in same-origin.
To run the test suite in cross-origin, start another server on http://localhost:8090/,
$ mvn jetty:run-war -Djetty.port=8090
Then open http://localhost:8090 in your browser. Test suite on 8090 will connect to 8080, cross-origin.
| Constructor and Description |
|---|
ServerBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(ServletContextEvent sce) |
void |
contextInitialized(ServletContextEvent event) |
public ServerBootstrap()
public void contextInitialized(ServletContextEvent event)
contextInitialized in interface ServletContextListenerpublic void contextDestroyed(ServletContextEvent sce)
contextDestroyed in interface ServletContextListenerCopyright 2012-2014, Donghwan Kim