I'm using a macro where i need to have Current URL.
How to get hte current URL in the velocity file. It would be good if get it with out usign javacript/jquery.
Using $req.getRequetURI will provide the current URL with out any query String parameters.
If we need query String parameters too, we have to use $req.getQueryString() method to written the query string too.
So using $req.getRequestURI and $req.getQueryString() will give us the current URL.
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events