${ao:getAbsoluteURL()}

Gets an absolute URL for the given path. This includes protocol, port, context path, and path.

path: The path appended to the URL verbatim. To support page-relative paths, first use ${ao:getAbsolutePath()}.

No URL rewriting is performed. Please additionally use ${ao:encodeURL()}, as-needed.

Example

${ao:getAbsoluteURL('/path-to-page.jsp')}

Function Information

Function Class: com.aoindustries.taglib.Functions
Function Signature: java.lang.String getAbsoluteURL(java.lang.String)
Display Name: None