[jboss-user] [JBoss Portal] - Re: how to get full url path from portlet request?

esmith1 do-not-reply at jboss.com
Wed May 14 19:09:14 EDT 2008


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().

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150901#4150901

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150901



More information about the jboss-user mailing list