Content
FramesNo Frames

Page Tree

  • ${ao:getLastModified()}
  • Functions
  • Taglib Reference (Legacy)
  • AO Taglib
  • Web Development
  • AO OSS
  • ${ao:addLastModified()}
  • ${ao:encodeURIComponent()}
  • ${ao:decodeURIComponent()}
  • ${ao:encodeURI()}
  • ${ao:decodeURI()}
  • ${ao:getAbsolutePath()}
  • ${ao:getAbsoluteURL()}
  • ${ao:getDecimalTimeLength()}
  • ${ao:getProjectVersion()}
  • ${ao:isForwarded()}
  • ${ao:isRtl()}
  • ${ao:join()}
  • ${ao:message()}
  • ${ao:wordWrap()}
  • ${ao:ceil()}
  • ${ao:floor()}
  • ${ao:round()}
  • ${ao:resourceExists()}

${ao:encodeURL()}

June 16, 2021

Rewrites a URL to maintain session state or otherwise alter the URL mapping.

Encodes the URI to ASCII format then passes through HttpServletResponse.encodeURL.

Encodes characters in the recommended UTF-8 encoding.

Example

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

Function Information

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