how to redirect to same jsp without changing url
<p>I have login application there I am checking whether username is available or not, if it is not available then it will redirect to login.jsp and show message in login.jsp else move to index.jsp.but if i give wrong user name and password then everytime it is appending controller to url everytime i.e. two times validation check ,two times controller will be added i.e.
<a href="http://localhost/cms/controller/controller/secureuserlogin" rel="nofollow noreferrer">http://localhost/cms/controller/controller/secureuserlogin</a></p>

<p>that I don't want and I also don't want to change url pattern as well i.e./controller/*. How to redirect with out changing url while redirecting to same page? Here's my code:</p>

<p><img src="https://i.stack.imgur.com/rV9em.png" alt="code"></p>