Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Java-SCA-1.0
-
None
Description
When running on WebSphere, we need to accomodate for a slightly different behavior than Tomcat or Jetty, with the current servlet filter + servlet configuration, getServletPath() returns "" on WebSphere and getPathInfo() returns what getServletPath() usually returns.
This is currently causing an IndexOutOfBoundsException preventing half of the Tuscany webapp samples to run correctly on WebSphere.
The fix for this is simple and risk-free, 3 lines of code in WebAppRequestDispatcher.getPathInfo().