encode URL
521236Nov 17 2008 — edited Nov 19 2008Hi!
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