jsp - fetch the url from the browser java web and replace the url with new url -


i have url when running project , want url browser , replace new url dynamically.

example having url below:-

http://localhost:8084/blog1_1/title?uname=55%22

replace url

http://localhost:8084/blog1_1/title

and set url in browser ???

just redirect desired url:

response.sendredirect("/blog1_1/title"); 

Comments