美图云海建站,专注彭山网站制作网站设计与营销型网站建设与优化
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
其他资讯
阿里云服务器购买镜像选择 阿里云服务器镜像是什么意思
联通路由器怎么设置 华为联通路由器怎么设置
php+最大数据长度 php字符串最大长度
谷歌域名怎么收录不了 谷歌网站搜索不了怎么回事
顶级域名怎么做空间 顶级域名格式
QQ咨询
在线咨询
官方微信
联系电话
座机
028-86922220
手机
13518219792
返回顶部