EmbededJettywithJSP-创新互联
Simp
攸县ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为
创新互联的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:18982081108(备注:SSL证书合作)期待与您的合作!le Jetty server with JSP supported.
- public static void main(String[] args) throws Exception {
- Server server = new Server(8082);
-
- Configuration.ClassList classlist = Configuration.ClassList.setServerDefault(server);
- classlist.addBefore("org.eclipse.jetty.webapp.JettyWebXmlConfiguration",
- "org.eclipse.jetty.annotations.AnnotationConfiguration" );
-
- WebAppContext context = new WebAppContext("src/main/webapp", "/");
- server.setHandler(context);
- server.start();
- }
网站标题:EmbededJettywithJSP-创新互联
URL链接:
http://dzwzjz.com/article/ccpeej.html