Removed old (non meerkat) test code
							parent
							
								
									5908901662
								
							
						
					
					
						commit
						782dfc8fa3
					
				|  | @ -1,9 +0,0 @@ | ||||||
| package service; |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| public class HelloWorldService { |  | ||||||
|     public String sayHello() { |  | ||||||
|         return "Hello, World!"; |  | ||||||
|     } |  | ||||||
| } |  | ||||||
|  | @ -1,16 +0,0 @@ | ||||||
| package webapp; |  | ||||||
| 
 |  | ||||||
| import javax.ws.rs.GET; |  | ||||||
| import javax.ws.rs.Path; |  | ||||||
| 
 |  | ||||||
| import service.HelloWorldService; |  | ||||||
| 
 |  | ||||||
| @Path("/hello") |  | ||||||
| public class HelloWebApp { |  | ||||||
| 	private static HelloWorldService helloWorldService = new HelloWorldService(); |  | ||||||
| 	 |  | ||||||
| 	@GET |  | ||||||
| 	public String hello() { |  | ||||||
| 		return helloWorldService.sayHello(); |  | ||||||
| 	} |  | ||||||
| } |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
|         </servlet-class> |         </servlet-class> | ||||||
|         <init-param> |         <init-param> | ||||||
|             <param-name>jersey.config.server.provider.packages</param-name> |             <param-name>jersey.config.server.provider.packages</param-name> | ||||||
|             <param-value>webapp, meerkat</param-value> |             <param-value>meerkat</param-value> | ||||||
|         </init-param> |         </init-param> | ||||||
|         <load-on-startup>1</load-on-startup> |         <load-on-startup>1</load-on-startup> | ||||||
|     </servlet> |     </servlet> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue