EmbededJettywithJSP-创新互联
                                            
                                                Simp
新闻名称:EmbededJettywithJSP-创新互联
路径分享:http://www.cqwzjz.cn/article/ccpeej.html
                                            
                                        
- 				    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-创新互联
路径分享:http://www.cqwzjz.cn/article/ccpeej.html

 建站
建站
 咨询
咨询 售后
售后
 建站咨询
建站咨询 
 