2012-09-13 50 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); 
相关问题