Skip to main content

developerWorks >  WebSphere  >  Forums  >  WebSphere Portal  >  developerWorks

request.getPathInfo() in themes does not return extra path information    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 0 - Pages: 1
Shan_yel

Posts: 3
Registered: Sep 12, 2008 07:38:11 AM
request.getPathInfo() in themes does not return extra path information
Posted: Nov 06, 2009 07:42:52 AM
 
Click to report abuse...   Click to reply to this thread Reply
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
Help

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.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums