Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.0.2
-
Component/s: Web Interface
-
Labels:None
-
Environment:WebSphere 6.1
-
Number of attachments :
Description
The browse URL is not recognized, since the RepositoryActionMapper uses the ServletPath to determine the "browse" prefix in the path.
The JEE 5 spec specifies [1]:
"This method will return an empty string ("") if the servlet used to process this request was matched using the "/*" pattern."
If your appserver works as described the "browse" in the URL can only be determined by using getPathInfo().
[1] http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpServletRequest.html#getServletPath()
Suggested patch considers pathInfo, if servletPath is empty string