美图云海建站,专注彭山网站制作网站设计与营销型网站建设与优化
QQ :
532337155
电话:
028-86922220
首页
网站建设
网站制作案例
解决方案
网站设计报价
网站制作动态
关于我们
联系我们
彭山网站建设设计
将想法与焦点和您一起共享
EmbededJettywithJSP
Simple 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();
}
pom.xml
org.eclipse.jetty
apache-jsp
9.4.2.v20170220
org.eclipse.jetty
jetty-annotations
9.4.2.v20170220
分享标题:EmbededJettywithJSP
链接地址:
http://www.ncjierui.cn/article/jhddos.html
其他资讯
导航栏html5,导航栏html几个页面可以互相跳转
oracle临时表怎么写,oracle临时表语句
javascript模块化,js模块化开发
数据库与nosql,数据库与excel区别
javascript拉条,拉条怎么写
QQ咨询
在线咨询
官方微信
联系电话
座机
028-86922220
手机
13518219792
返回顶部