利用jetty9启动无web.xml配置的spring4最简单应用程序
mvn jetty:run
mvn clean install exec:exec
- 通过jetty的
org.eclipse.jetty.xml.XmlConfiguration
执行jetty/jetty.xml文件
- 执行
com.halfray.example.initializer.JettyWebContextServer
类的main
方法
- 执行
com.halfray.example.initializer.JettyServletContextServer
类的main
方法