2012-09-13 46 views
1

一旦到期彈出窗口出現,Liferay如何知道登錄URL。會話超時重定向URL

恩..如果過期的頁面是

'http://localhost:8080/web/2Fsite/2Fmodule' 

,並按下F5,如何生活射線知道URL是

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

這是Struts行爲?

回答

0

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

String currentURL = PortalUtil.getCurrentURL(request); 
redirect = HttpUtil.addParameter(redirect, "redirect", currentURL); 
相關問題