开发者

liferay template: how to encode url

For some reason when I'm using liferay in internet explorer it does not seem to accept cookies. So I guess I need to encode my URLs.

I tried httpUti开发者_如何转开发l.encodeURL('http://x.com/y',true) but that just gets me http://x.com/y again without the JSessionID appended.


VelocityTools has a LinkTool that can encode urls too. Also, make sure that a session has been created.


The EscapeTool is an alternative to the LinkTool

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜