WPS 6.1 : request.getPathInfo() in themes Default.jsp, does not return the extra path information in the URL after the portal servlet context "/myportal/".
Steps to re create
1. Create a portal page e.g "Path Info Test"
2. Create a URL mapping "pathinfo" and map to above portal page created.
3. Apply a theme e.g. "Portal" (available in WPS6.1 default installation) to the portal page "Path Info Test".
4. Add a sysout in the "Portal" theme Default.jsp
System.out.println("Path Info:" + request.getPathInfo());
5.Access the URL http://server:port/wps/myportal/pathinfo/test/path.
6. The sysout should be "Path Info:/test/path", but it actually returns "/" leading slash and not the extra path information after "/pathinfo/" as per the servlet specification.
I have tested this in Websphere portal 6.1.0.19 and 6.1.0.25 and for both it has the above issue. So it seems to be the issue with 6.1.x.
This works fine in 6.0.x.
Does this require any fixpacks/upgrades or any web container/portal configuration parameter that need to be changed ?
Tags
Use the search field to
find all types of content in My developerWorks with that tag.
Use the slider bar to see more or fewer tags.
Popular tags shows the top tags for this particular type of content or application that you're viewing.
My tags shows your tags for this particular type of content or application that
you're viewing.