package ebs.echo;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Response;

@Path("")
public class Echo {
	@GET
    @Path("{param}")
    public Response getMsg(@PathParam("param") String msg) {
        String output = "AFTP: " + msg;
        return Response.status(200).entity(output).build();
   }
	
	
}
package ebs.echo;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Response;

@Path("")
public class Echo {
	@GET
    @Path("{param}")
    public Response getMsg(@PathParam("param") String msg) {
        String output = "ECHO: " + msg;
        return Response.status(200).entity(output).build();
   }
	
	
}

Update Echo.java