Liferay 会话超时重定向URL

Liferay 会话超时重定向URL,liferay,session-timeout,Liferay,Session Timeout,出现expire弹出窗口后,Liferay如何知道登录URL 例。。如果过期的页面是 'http://localhost:8080/web/2Fsite/2Fmodule' 按下F5,Life ray怎么知道URL是 "http://localhost:8080/web/guest/home?_58_redirect=%2Fweb%2Fsite%2Fmodule“ 这是你的行动吗 检查com.liferay.portal.servlet.MainServlet-processServicePr

出现expire弹出窗口后,Liferay如何知道登录URL

例。。如果过期的页面是

'http://localhost:8080/web/2Fsite/2Fmodule'
按下F5,Life ray怎么知道URL是

"http://localhost:8080/web/guest/home?_58_redirect=%2Fweb%2Fsite%2Fmodule“

这是你的行动吗

检查com.liferay.portal.servlet.MainServlet-processServicePrePrincipalException方法:

String currentURL = PortalUtil.getCurrentURL(request);
redirect = HttpUtil.addParameter(redirect, "redirect", currentURL);