Ok thanks. I added a workaround in my code for the welcome file case.
And indeed I had already observed other situations where requestURI =
contextPath + servletPath + pathInfo is not true if there's normalization
going on, for instance the fact that we can have:
requestURI =
On 01/10/18 12:54, Florent Guillaume wrote:
> Hi,
>
> I'm observing a behavior (Tomcat 9.0.10) with respect to getServletPath()
> that I don't understand when reading the servlet spec.
>
> For a request http://localhost:8080/nuxeo/ui/ I get the following:
>
> httpRequest.getRequestURL()
>
Hi,
I'm observing a behavior (Tomcat 9.0.10) with respect to getServletPath()
that I don't understand when reading the servlet spec.
For a request http://localhost:8080/nuxeo/ui/ I get the following:
httpRequest.getRequestURL()
http://localhost:8080/nuxeo/ui/
httpRequest.getRequestURI()