cycle.getInfrastructure().getRequest().getServername();
is better, cause "getRequestContext()" is deprecated

Daniel M Garland wrote:

Hi Dan,

You get get at it via the Request Cycle:
cycle.getRequestContext().getRequest().getServerName()

HTH
Dan

Dan Adams wrote:

How can i get the hostname of the current page (ie www.mycompany.com)?





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to