structure:currentPageUrl

This tag will get you the current page url.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

ID-result variable contains:
A string representing the url.

Examples

The following example gets the current page url.

<structure:currentPageUrl id="currentUrl"/>
The current url is <c:out value="${currentPageUrl}"/>



comments powered by Disqus