Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

encode URL

521236Nov 17 2008 — edited Nov 19 2008
Hi!
I would like to encode URLs to portal compatible URL.
I mean, I have got for examples these URLs: http://localhost:8080/rafiPortal/images/node_open.gif
and I would like such URLs: http://localhost:8080/jetspeed/portal/_ns:YWRwLTd8YzJ8Zg__/
I tried the renderResponse.encodeURL() method, but I got back the original URL...
for example:
renderResponse.encodeURL("/rafiPortal/images/node_open.gif")
and the result: /rafiPortal/images/node_open.gif
just the same....
I found in the javadoc: "If encoding is not needed, it returns the URL unchanged."
Hmm, maybe I have to set in portal server to encode the URLs?
Thanks!
ric
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2008
Added on Nov 17 2008
5 comments
948 views