美图云海建站,专注彭山网站制作网站设计与营销型网站建设与优化
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标准格式
Python面向对象
Unity如何使用ScrollRect制作翻页
走进JDK之不可变类String
Cacti和Nagios整合
QQ咨询
在线咨询
官方微信
联系电话
座机
028-86922220
手机
13518219792
返回顶部