Redirect an URL in Jira 5.0

ab185178 August 23, 2012

We have requirement to display tem and condition page before the login page displayed. The term&condition page is maintained in NCR internal server (web site). I have tried to access that T&C page from web/default.jsp as below

response.sendRedirect(request.getContextPath() + "https://condition.ncr.com?returnUrl="+ returnUrl");

But request is not directly send to NCR site. Request is send as below appending with original link (http://susday4271.corp.ncr.com:8080). The original link should not append into the destination link. Please advice.

http://susday4271.corp.ncr.com:8080/ncr/https://condition.ncr.com/

1 answer

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
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 23, 2012

Do this.

response.sendRedirect("https://condition.ncr.com?returnUrl="+ returnUrl");

ab185178 August 23, 2012

Thanks. Its working.

Alexander Urzhumtsev June 23, 2013

Tell me pls. How can I get response object?

Suggest an answer

Log in or Sign up to answer