我在登录后挂钩中有一个 HttpServletRequest 对象。如何获取浏览器的 URL。
当我使用 PortalUtil.getCurrentCompleteURL(HttpServletRequest) 时,我总是得到http://localhost:8080/c。我需要类似http://localhost:8080/web/abc的东西。
我没有 ThemeDisplay 对象。
我在登录后挂钩中有一个 HttpServletRequest 对象。如何获取浏览器的 URL。
当我使用 PortalUtil.getCurrentCompleteURL(HttpServletRequest) 时,我总是得到http://localhost:8080/c。我需要类似http://localhost:8080/web/abc的东西。
我没有 ThemeDisplay 对象。