Confluence referer

ket.pjwstk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 16, 2011

Hi,

How can I obtain String that contains the referrer? Or the referrer itself? I.e

[INFO] [talledLocalContainer] -- referer: http://localhost:1990/confluence/dosearchsite.action? | url: /confluence/pages/viewpage.action | userName: admin | action: viewpage | page: 3145732

1 answer

1 accepted

1 vote
Answer accepted
ket.pjwstk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2011

String referrer = ServletActionContext.getRequest().getHeader("REFERER");

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events