public static String getServletPathFromRequest(javax.servlet.http.HttpServletRequest request)
Re-publishes AbstractJohnsonFilter.getServletPath(HttpServletRequest) with public access.
In its infinite wisdom, AbstractJohnsonFilter restricts this extraordinarily useful method to
protected scope. This is the wrong place for that useful code to live, but the other choice
is to copy-and-paste the code.
request - the servlet request from which to extract the servlet path
the servlet path, which is the application context-scoped part of the URL. In other words, for
http://localhost:8090/jira/secure/foo.jsp, the result is /secure/foo.jsp.