Hi Guys,
I am new to rest.
I have been trying to expose our application with rest. The problem is that
if we map CXF to /* it tries to serve3 the static content as well.
The only work around is being specific. Like map each service' path and
methods that it exposes.
@Path("/say")
public class SayHello{
@GET
@Path("/hello")
public String hello(){
return "Hello"
}
The mapping for this could be
<url-pattern>/say/hello<url-pattern>
and not
<url-pattern>/say/*<url-pattern>
How does one deal with this. Is the a way to stop CXF from serving static
content if <url-pattern>/*<url-pattern> is used?
Thank you.
--
I keep six honest serving-men (They taught me all I knew); Their names are
What and Why and When And How and Where and Who.