Redirect an URL in Jira 5.0

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() + ""+ returnUrl");

But request is not directly send to NCR site. Request is send as below appending with original link ( The original link should not append into the destination link. Please advice.

1 answer

1 accepted

1 vote

Do this.

response.sendRedirect(""+ returnUrl");

Thanks. Its working.

Tell me pls. How can I get response object?

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

454 views 7 16
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot