Hi, I've got a problem when I try to pass parameters that are formatted as URI's.
Some URI's are of the form (a) http://www.example.com/test?item=pluto.apache.com others are of the form (b) http://www.example.com/test?item=pluto.apache.com/wiki?id=1234 In (b), the special characters get encoded as %F3's, etc. When it gets to processAction method in the portlet, the URI of concern (the 'item' parameter in this case) looks fine. By this parameters gets to the doView, I've lost everything after the '?'. As it stands, I'm using URI.getPath() and URI.getQuery(), and passing each half seperately, but this solution really doesn't lend itself to flexibility. I can't figure out what the problem is or why the URI isn't passed properly. This portlet code has worked in previous version of Pluto, but in the current 1.2 it does not seem to work as expected. Can anyone shed some light onto a possible solution, or maybe what I might be doing wrong? Has anyone encountered this before? I am trying to port some portlets (no pun intended) to Pluto 1.2, but my solution of URI.getPath() and URI.getQuery() seems to look worse and worse idea with each portlet I need to repair. I know a lot happens between processAction and doView, and I've tried stepping through it, but I can't seem to pinpoint where my URI is getting chopped in half. -Ajay Panagariya
