Hi all,

migrating RAP project to Jetty 10.0.5 leads to "null" servlet path if the
servlet is registered at root path (empty url-pattern):

  <servlet-mapping>
    <servlet-name>rwtServlet</servlet-name>
    <url-pattern></url-pattern>
  </servlet-mapping>

Based on servlet specification and Jetty 9.x behaviour in this
case Request#getServletPath() must return an empty string. Probably the
issue is introduced with ServletPathMapping class. When pathInContext is
null the _servletPath is set to null as well.
Is this a known regression?

Best regards,
Ivan Furnadjiev
_______________________________________________
jetty-users mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to