This content has been marked as final.
Show 1 reply
-
1. Re: how to get full url path from portlet request?
esmith1 May 14, 2008 7:09 PM (in response to igorroyzis)I may not have understood your question because in your example www.mywebsite.com/somevalue I wondered why you didnt say /portal. But one thing you can try inside your portlet doView method is
renderRequest.getScheme() + "://" + renderRequest.getServerName()
You may also want to look into getServerPort() and getContextPath().