Hi

Can you please post a sample URI which results in a static content being
served ?
thanks, Sergey



Monde Hans wrote:
> 
> 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.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Rest-and-Static-Content-tp24792523p24822846.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to