users@jersey.java.net

[Jersey] About Jersey And NettyHttpContainerProvider

From: juaby <juaby_at_163.com>
Date: Wed, 30 Nov 2016 10:48:57 +0800 (CST)

dear all,


env: centos7.2, jersey2.24.1 nettyhttpcontainer


problem:

               base_uri = http://localhost:8080/base/
               resource path = "helloworld"

              after server started, by chrome access "http://localhost:8080/base/hellowrold" respose code "404"

              JerseyServerHandler line #145
              URI requestUri = URI.create(baseUri + ContainerUtils.encodeUnsafeCharacters(s));
             
              http://localhost:8080/base/base/hellowrold ===================> double "base" ===========> 404

              is not a bug?

好运
--
闫家宝  YAN JIA BAO