开发者

liferay template: how to encode url

开发者 https://www.devze.com 2023-01-30 01:34 出处:网络
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.

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

精彩评论

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