jetty配置
来源:互联网 发布:音效控制软件 编辑:程序博客网 时间:2024/05/31 13:14
public static void main(String[] args) throws Exception {
//设置Web服务端口号,请按需设置
Server server = new Server( 8888);
WebAppContext context = new WebAppContext();
//设置web.xml的路径,请按实际情况设置
context.setDescriptor( "WebContent/WEN-INF/web.xml" );
//设置web资源所在的目录,请按实际情况设置
context.setResourceBase( "WebContent" );
//设计运行时目录/为根目录,通过localhost:xxxx/就可以访问
context.setContextPath( "/" );
context.setParentLoaderPriority( true );
server.setHandler( context );
server.start();
server.join();
}
- Jetty配置
- jetty配置
- jetty配置
- jetty配置
- jetty配置
- jetty配置
- Jetty配置
- Jetty配置
- Jetty:配置概览-怎么配置Jetty
- jetty下载与配置
- jetty配置虚拟主机
- maven jetty配置
- Jetty配置自动更新反馈
- MyEclipse下配置jetty
- maven:jetty 配置 NoClassDefFoundError
- jetty配置jndi数据源
- jetty的log配置
- maven jetty配置
- ANDROID 实现选择文件对话框
- 单链表反转
- js数组与 json 的区别
- 测试工具
- 设计模式--创建模式--建造模式--java
- jetty配置
- List 语言:set和setq差别
- java反射详解
- Gsensor/Gyro数据滤波算法思考
- 文件句柄
- js跨域请求,并控制js执行顺序
- myeclipse下Java工程不能被编译
- group by,having,order by的用法
- js 中的三个等号